8000 Autoconfigure instances of ArgumentValueResolverInterface · symfony/symfony@ee4dc20 · GitHub
[go: up one dir, main page]

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