From db95ec9aae451216d92add857fef98973e4f678a Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 30 Jan 2018 09:35:57 +0100 Subject: [PATCH] Exclude the kernel when registering services --- symfony/framework-bundle/3.3/config/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/framework-bundle/3.3/config/services.yaml b/symfony/framework-bundle/3.3/config/services.yaml index 23800b49..20470885 100644 --- a/symfony/framework-bundle/3.3/config/services.yaml +++ b/symfony/framework-bundle/3.3/config/services.yaml @@ -15,7 +15,7 @@ services: # this creates a service per class whose id is the fully-qualified class name App\: resource: '../src/*' - exclude: '../src/{Entity,Migrations,Tests}' + exclude: '../src/{Entity,Migrations,Tests,Kernel.php}' # controllers are imported separately to make sure services can be injected # as action arguments even if you don't extend any base controller class