File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Bundle \TwigBundle \DependencyInjection \Compiler ;
1313
14+ use Symfony \Component \DependencyInjection \Alias ;
1415use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
1516use Symfony \Component \DependencyInjection \ContainerBuilder ;
1617use Symfony \Component \DependencyInjection \Reference ;
@@ -73,7 +74,7 @@ public function process(ContainerBuilder $container)
7374 $ loader ->addTag ('twig.loader ' );
7475 $ loader ->setMethodCalls ($ container ->getDefinition ('twig.loader.filesystem ' )->getMethodCalls ());
7576
76- $ container ->setDefinition ('twig.loader.filesystem ' , $ loader );
77+ $ container ->setAlias ('twig.loader.filesystem ' , new Alias ( ' twig. loader.native_filesystem ' , false ) );
7778 }
7879
7980 if ($ container ->has ('assets.packages ' )) {
You can’t perform that action at this time.
0 commit comments