protected function renderTemplate($templatePathAndFilename, array $contextVariables)
    {
        $standaloneView = new StandaloneView();
        $standaloneView->setTemplatePathAndFilename($templatePathAndFilename);
        $standaloneView->assignMultiple($contextVariables);
        return $standaloneView->render();
    }
protected function renderTemplate($templatePathAndFilename, array $contextVariables)
    {
        $standaloneView = new StandaloneView();
        $standaloneView->setTemplatePathAndFilename($templatePathAndFilename);
        $standaloneView->assignMultiple($contextVariables);
        return $standaloneView->render();
    }
protected function renderTemplate ( $ templatePathAndFilename , array $ contextVariables ) { $ standaloneView = new StandaloneView ( ) ; $ standaloneView -> setTemplatePathAndFilename ( $ templatePathAndFilename ) ; $ standaloneView -> assignMultiple ( $ contextVariables ) ; return $ standaloneView -> render ( ) ; }
Render the given template file with the given variables

@param string $templatePathAndFilename
@param array $contextVariables
@return string
@throws \Neos\FluidAdaptor\Core\Exception
Render the given template file with the given variables