Neos.SiteKickstarter/Classes/Service/GeneratorService.php
protected function renderSimpleTemplate($templatePathAndFilename, array $contextVariables)
    {
        $content = file_get_contents($templatePathAndFilename);
        foreach ($contextVariables as $key => $value) {
            $content = str_replace('{' . $key . '}', $value, $content);
        }
        return $content;
    }
protected function renderSimpleTemplate($templatePathAndFilename, array $contextVariables)
    {
        $content = file_get_contents($templatePathAndFilename);
        foreach ($contextVariables as $key => $value) {
            $content = str_replace('{' . $key . '}', $value, $content);
        }
        return $content;
    }
protected function renderSimpleTemplate ( $ templatePathAndFilename , array $ contextVariables ) { $ content = file_get_contents ( $ templatePathAndFilename ) ; foreach ( $ contextVariables as $ key => $ value ) { $ content = str_replace ( '{' . $ key . '}' , $ value , $ content ) ; } return $ content ; }
Simplified template rendering

@param string $templatePathAndFilename
@param array $contextVariables
@return string
Simplified template rendering