Skip to content

Commit 593ee8f

Browse files
committed
add routing.controller to the list of known DI tags
1 parent 9986139 commit 593ee8f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class UnusedTagsPass implements CompilerPassInterface
7878
'proxy',
7979
'remote_event.consumer',
8080
'routing.condition_service',
81+
'routing.controller',
8182
'routing.expression_language_function',
8283
'routing.expression_language_provider',
8384
'routing.loader',

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/UnusedTagsPassUtils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public static function getDefinedTags(): array
1919
{
2020
$tags = [
2121
'proxy' => true,
22+
'routing.controller' => true,
2223
];
2324

2425
// get all tags used in XML configs

0 commit comments

Comments
 (0)