File tree 2 files changed +5
-3
lines changed
src/Symfony/Bundle/TwigBundle
DependencyInjection/Compiler
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -79,5 +79,9 @@ public function process(ContainerBuilder $container)
79
79
if (class_exists ('Symfony\Component\Stopwatch\Stopwatch ' )) {
80
80
$ container ->getDefinition ('twig.extension.debug.stopwatch ' )->addTag ('twig.extension ' );
81
81
}
82
+
83
+ if (class_exists ('Symfony\Component\ExpressionLanguage\ExpressionLanguage ' )) {
84
+ $ container ->getDefinition ('twig.extension.expression ' )->addTag ('twig.extension ' );
85
+ }
82
86
}
83
87
}
Original file line number Diff line number Diff line change 102
102
<argument >%kernel.debug%</argument >
103
103
</service >
104
104
105
- <service id =" twig.extension.expression" class =" Symfony\Bridge\Twig\Extension\ExpressionExtension" public =" false" >
106
- <tag name =" twig.extension" />
107
- </service >
105
+ <service id =" twig.extension.expression" class =" Symfony\Bridge\Twig\Extension\ExpressionExtension" public =" false" />
108
106
109
107
<service id =" twig.extension.httpkernel" class =" Symfony\Bridge\Twig\Extension\HttpKernelExtension" public =" false" >
110
108
<argument type =" service" id =" fragment.handler" />
You can’t perform that action at this time.
0 commit comments