Skip to content

Commit 1682f19

Browse files
committed
Remove unnecessary configuration for controllers
1 parent 341cea2 commit 1682f19

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

config/services.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ services:
3030
# but if a service is unused, it's removed anyway
3131
exclude: '../src/{DataFixtures,Entity,Migrations,Tests}'
3232

33-
# controllers are imported separately to make sure they're public
34-
# and have a tag that allows actions to type-hint services
35-
App\Controller\:
36-
resource: '../src/Controller'
37-
tags: ['controller.service_arguments']
38-
3933
# when the service definition only contains arguments, you can omit the
4034
# 'arguments' key and define the arguments just below the service class
4135
App\EventSubscriber\CommentNotificationSubscriber:

0 commit comments

Comments
 (0)