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 5ae0c82 commit 6021873Copy full SHA for 6021873
src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php
@@ -24,7 +24,7 @@ public function process(ContainerBuilder $container)
24
if ($container->has('form.extension')) {
25
$container->getDefinition('twig.extension.form')->addTag('twig.extension');
26
$reflClass = new \ReflectionClass('Symfony\Bridge\Twig\Extension\FormExtension');
27
- $container->getDefinition('twig.loader')->addMethodCall('addPath', array(dirname(dirname($reflClass->getFileName())).'/Resources/views/Form'));
+ $container->getDefinition('twig.loader.filesystem')->addMethodCall('addPath', array(dirname(dirname($reflClass->getFileName())).'/Resources/views/Form'));
28
}
29
30
if ($container->has('translator')) {
0 commit comments