Neos\Kickstarter\Service\GeneratorService::renderTemplate PHP Method

renderTemplate() protected method

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