This commit is contained in:
Roland Franssen 2016-10-02 16:48:27 +00:00
parent f54cfd66c5
commit e45e80e2e7

View File

@ -25,7 +25,7 @@ class HttpKernelExtension extends \Twig_Extension
return array(
new \Twig_SimpleFunction('render', array(HttpKernelRuntime::class, 'renderFragment'), array('is_safe' => array('html'))),
new \Twig_SimpleFunction('render_*', array(HttpKernelRuntime::class, 'renderFragmentStrategy'), array('is_safe' => array('html'))),
new \Twig_SimpleFunction('controller', HttpKernelRuntime::class.'::controller'),
new \Twig_SimpleFunction('controller', static::class.'::controller'),
);
}