Commit 9ec703eb authored by jhodgdon's avatar jhodgdon

Issue #1957042 by Kevin Morse, foopang, xjm, Fabianx, Cottser: Document why a...

Issue #1957042 by Kevin Morse, foopang, xjm, Fabianx, Cottser: Document why a method in CoreBundle is public static
parent f4ed1b71
......@@ -86,7 +86,7 @@ protected function registerModuleHandler(ContainerBuilder $container) {
/**
* Registers Twig services.
*
* This is used during install so it needs to stay in PHP (and static too).
* This method is public and static so that it can be reused in the installer.
*/
public static function registerTwig(ContainerBuilder $container) {
$container->register('twig.loader.filesystem', 'Twig_Loader_Filesystem')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment