Updated symfony/framework-bundle

This commit is contained in:
Jan Böhmer 2022-03-04 19:11:09 +01:00
parent 143b0c298c
commit 136b3a2b79
3 changed files with 19 additions and 43 deletions

View file

@ -4,6 +4,9 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
imports:
- { resource: parameters.yaml }
services:
# default configuration for services in *this* file
_defaults:
@ -24,8 +27,11 @@ services:
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/*'
exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
resource: '../src/'
exclude:
- '../src/DependencyInjection/'
- '../src/Entity/'
- '../src/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