Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper::callRenderMethod PHP Метод

callRenderMethod() защищенный Метод

Call the render() method and handle errors.
protected callRenderMethod ( ) : string
Результат string the rendered ViewHelper
    protected function callRenderMethod()
    {
        $renderMethodParameters = [];
        foreach ($this->argumentDefinitions as $argumentName => $argumentDefinition) {
            if ($argumentDefinition instanceof ArgumentDefinition && $argumentDefinition->isMethodParameter()) {
                $renderMethodParameters[$argumentName] = $this->arguments[$argumentName];
            }
        }
        try {
            return call_user_func_array([$this, 'render'], $renderMethodParameters);
        } catch (Exception $exception) {
            if ($this->objectManager->getContext()->isProduction()) {
                $this->systemLogger->log('A Fluid ViewHelper Exception was captured: ' . $exception->getMessage() . ' (' . $exception->getCode() . ')', LOG_ERR, ['exception' => $exception]);
                return '';
            } else {
                throw $exception;
            }
        }
    }