From 3d8a5646e733391816507237fe9185d44555b2cf Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Thu, 4 May 2017 23:20:37 +0200 Subject: [PATCH] [WebLink][TwigBundle] Fix registration of the twig extension --- .../Bundle/TwigBundle/DependencyInjection/TwigExtension.php | 1 + src/Symfony/Bundle/TwigBundle/composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php b/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php index 8e37cbba871b8..410dbcebf8c78 100644 --- a/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php +++ b/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php @@ -55,6 +55,7 @@ public function load(array $configs, ContainerBuilder $container) $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) { diff --git a/src/Symfony/Bundle/TwigBundle/composer.json b/src/Symfony/Bundle/TwigBundle/composer.json index 00cb04e852e3a..454349b0f0890 100644 --- a/src/Symfony/Bundle/TwigBundle/composer.json +++ b/src/Symfony/Bundle/TwigBundle/composer.json @@ -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" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy