Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitee4dc20

Browse files
committed
Autoconfigure instances of ArgumentValueResolverInterface
Add the controller.argument_value_resolver tag to instances ofArgumentValueResolverInterface
1 parent8e517f6 commitee4dc20

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
useSymfony\Component\Form\FormTypeInterface;
4343
useSymfony\Component\HttpKernel\CacheClearer\CacheClearerInterface;
4444
useSymfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
45+
useSymfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
4546
useSymfony\Component\HttpKernel\DataCollector\DataCollectorInterface;
4647
useSymfony\Component\HttpKernel\DependencyInjection\Extension;
4748
useSymfony\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)

[8]ページ先頭

©2009-2025 Movatter.jp