[WebLink][TwigBundle] Fix registration of the twig extension
This commit is contained in:
parent
f6043bb8f1
commit
3d8a5646e7
@ -55,6 +55,7 @@ class TwigExtension extends Extension
|
||||
$definition = $container->register('twig.extension.weblink', WebLinkExtension::class);
|
||||
$definition->setPublic(false);
|
||||
$definition->addArgument(new Reference('request_stack'));
|
||||
$definition->addTag('twig.extension');
|
||||
}
|
||||
|
||||
foreach ($configs as $key => $config) {
|
||||
|
@ -18,7 +18,7 @@
|
||||
"require": {
|
||||
"php": ">=5.5.9",
|
||||
"symfony/config": "~3.2",
|
||||
"symfony/twig-bridge": "^3.2.1",
|
||||
"symfony/twig-bridge": "^3.3",
|
||||
"symfony/http-foundation": "~2.8|~3.0",
|
||||
"symfony/http-kernel": "^3.3",
|
||||
"twig/twig": "^1.32|^2.2"
|
||||
|
Reference in New Issue
Block a user