Skip to content

Commit ee4dc20

Browse files
committed
Autoconfigure instances of ArgumentValueResolverInterface
Add the controller.argument_value_resolver tag to instances of ArgumentValueResolverInterface
1 parent 8e517f6 commit ee4dc20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
use Symfony\Component\Form\FormTypeInterface;
4343
use Symfony\Component\HttpKernel\CacheClearer\CacheClearerInterface;
4444
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
45+
use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
4546
use Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface;
4647
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
4748
use Symfony\Component\PropertyAccess\PropertyAccessor;
@@ -269,6 +270,8 @@ public function load(array $configs, ContainerBuilder $container)
269270
->addTag('config_cache.resource_checker');
270271
$container->registerForAutoconfiguration(ServiceSubscriberInterface::class)
271272
->addTag('container.service_subscriber');
273+
$container->registerForAutoconfiguration(ArgumentValueResolverInterface::class)
274+
->addTag('controller.argument_value_resolver');
272275
$container->registerForAutoconfiguration(AbstractController::class)
273276
->addTag('controller.service_arguments');
274277
$container->registerForAutoconfiguration(Controller::class)

0 commit comments

Comments
 (0)
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