Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de7b11e commit ad5eb7eCopy full SHA for ad5eb7e
src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php
@@ -27,7 +27,7 @@ public function process(ContainerBuilder $container)
27
$container->getDefinition('twig.loader')->addMethodCall('addPath', array(dirname(dirname($reflClass->getFileName())).'/Resources/views/Form'));
28
}
29
30
- if (false === $container->has('translator')) {
+ if ($container->has('translator')) {
31
$container->getDefinition('twig.extension.trans')->addTag('twig.extension');
32
33
0 commit comments