Neos\Neos\ViewHelpers\StandaloneViewViewHelper::render PHP Метод

render() публичный Метод

public render ( string $templatePathAndFilename, array $arguments = [] ) : string
$templatePathAndFilename string Path and filename of the template to render
$arguments array Arguments to assign to the template before rendering
Результат string
    public function render($templatePathAndFilename, $arguments = array())
    {
        $standaloneView = new \Neos\FluidAdaptor\View\StandaloneView($this->controllerContext->getRequest());
        $standaloneView->setTemplatePathAndFilename($templatePathAndFilename);
        return $standaloneView->assignMultiple($arguments)->render();
    }
StandaloneViewViewHelper