bundle/Installer/Generator/Generator.php
protected function render($template, $parameters)
    {
        $twig = new Twig_Environment(
            new Twig_Loader_Filesystem($this->skeletonDirs),
            array(
                'debug' => true,
                'cache' => false,
                'strict_variables' => true,
                'autoescape' => false,
            )
        );

        return $twig->render($template, $parameters);
    }
protected function render($template, $parameters)
    {
        $twig = new Twig_Environment(
            new Twig_Loader_Filesystem($this->skeletonDirs),
            array(
                'debug' => true,
                'cache' => false,
                'strict_variables' => true,
                'autoescape' => false,
            )
        );

        return $twig->render($template, $parameters);
    }
Renders the template.

@param string $template
@param array $parameters

@return string