From 21e965449c5e09cde648780cd40111b088e18f07 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 5 Aug 2025 13:49:20 +0200 Subject: [PATCH] refactor(config): update service definitions for autowiring and controller configuration - Enable autowiring for Chill\EventBundle\Controller - Add default autowire and autoconfigure settings --- src/Bundle/ChillEventBundle/config/services.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Bundle/ChillEventBundle/config/services.yaml b/src/Bundle/ChillEventBundle/config/services.yaml index 5c84c07b9..203339d3a 100644 --- a/src/Bundle/ChillEventBundle/config/services.yaml +++ b/src/Bundle/ChillEventBundle/config/services.yaml @@ -1,11 +1,12 @@ services: -# Chill\EventBundle\Controller\: -# autowire: true -# resource: '../Controller' -# tags: ['controller.service_arguments'] - - Chill\EventBundle\Menu\: + _defaults: autowire: true autoconfigure: true + + Chill\EventBundle\Controller\: + resource: '../Controller' + tags: ['controller.service_arguments'] + + Chill\EventBundle\Menu\: resource: '../Menu/' tags: ['chill.menu_builder']