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 11
11
12
12
namespace Symfony \Bundle \TwigBundle \DependencyInjection \Compiler ;
13
13
14
+ use Symfony \Component \DependencyInjection \Alias ;
14
15
use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
15
16
use Symfony \Component \DependencyInjection \ContainerBuilder ;
16
17
use Symfony \Component \DependencyInjection \Reference ;
@@ -73,7 +74,7 @@ public function process(ContainerBuilder $container)
73
74
$ loader ->addTag ('twig.loader ' );
74
75
$ loader ->setMethodCalls ($ container ->getDefinition ('twig.loader.filesystem ' )->getMethodCalls ());
75
76
76
- $ container ->setDefinition ('twig.loader.filesystem ' , $ loader );
77
+ $ container ->setAlias ('twig.loader.filesystem ' , new Alias ( ' twig. loader.native_filesystem ' , false ) );
77
78
}
78
79
79
80
if ($ container ->has ('assets.packages ' )) {
You can’t perform that action at this time.
0 commit comments