From a5b3b7450dcae055476e16889bc263cd9fc7aa49 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 7 Sep 2017 14:30:35 +0200 Subject: [PATCH] Controllers are already public --- symfony/framework-bundle/3.3/config/services.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/symfony/framework-bundle/3.3/config/services.yaml b/symfony/framework-bundle/3.3/config/services.yaml index 4c0344da..140b6fc0 100644 --- a/symfony/framework-bundle/3.3/config/services.yaml +++ b/symfony/framework-bundle/3.3/config/services.yaml @@ -21,9 +21,8 @@ services: # but if a service is unused, it's removed anyway exclude: '../src/{Entity,Repository,Tests}' - # controllers are imported separately to make sure they're public - # and have a tag that allows actions to type-hint services + # controllers are imported separately to make sure they + # have the tag that allows actions to type-hint services App\Controller\: resource: '../src/Controller' - public: true tags: ['controller.service_arguments']