fix: Autowire and autoconfigure services in chill_main.

This commit does not remove services that are not automatically PSR loaded.
This commit is contained in:
Pol Dellaiera
2021-11-18 08:49:43 +01:00
parent 78615519f4
commit 9f06bc7126
23 changed files with 108 additions and 104 deletions

View File

@@ -1,4 +1,8 @@
services:
_defaults:
autowire: true
autoconfigure: true
chill.main.menu_composer:
class: Chill\MainBundle\Routing\MenuComposer
arguments:
@@ -6,7 +10,7 @@ services:
- '@Knp\Menu\FactoryInterface'
- '@Symfony\Component\Translation\TranslatorInterface'
Chill\MainBundle\Routing\MenuComposer: '@chill.main.menu_composer'
chill.main.routes_loader:
class: Chill\MainBundle\Routing\Loader\ChillRoutesLoader
arguments: