Bundle/WidgetBundle/Generator/WidgetGenerator.php
protected function render($template, $parameters)
    {
        $twig = $this->templating;
        $twig->setLoader(new \Twig_Loader_Filesystem($this->skeletonDirs));

        return $twig->render($template, $parameters);
    }
protected function render($template, $parameters)
    {
        $twig = $this->templating;
        $twig->setLoader(new \Twig_Loader_Filesystem($this->skeletonDirs));

        return $twig->render($template, $parameters);
    }
protected function render ( $ template , $ parameters ) { $ twig = $ this -> templating ; $ twig -> setLoader ( new \ Twig_Loader_Filesystem ( $ this -> skeletonDirs ) ) ; return $ twig -> render ( $ template , $ parameters ) ; }
write WidgetBundle files.
write WidgetBundle files .