Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ee4dc20

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

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
+3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.