diff --git a/symfony/framework-bundle/3.3/config/services.yaml b/symfony/framework-bundle/3.3/config/services.yaml index a216c11e..07d653cb 100644 --- a/symfony/framework-bundle/3.3/config/services.yaml +++ b/symfony/framework-bundle/3.3/config/services.yaml @@ -18,7 +18,7 @@ services: # this creates a service per class whose id is the fully-qualified class name App\: resource: '../src/*' - exclude: '../src/{Entity,Migrations,Tests,Kernel.php}' + exclude: '../src/{DependencyInjection,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