Revert "fix: Autowire and autoconfigure services in chill_main."

This reverts commit d7fbbbf92c.
This commit is contained in:
Pol Dellaiera
2021-11-18 08:34:17 +01:00
parent d7fbbbf92c
commit d1e1f7faa4
23 changed files with 115 additions and 92 deletions

View File

@@ -1,13 +1,12 @@
services:
_defaults:
autowire: true
autoconfigure: true
Chill\MainBundle\Controller\:
autowire: true
resource: '../../Controller'
tags: ['controller.service_arguments']
Chill\MainBundle\Controller\PasswordController:
autowire: true
arguments:
$chillLogger: '@monolog.logger.chill'
tags: ['controller.service_arguments']
@@ -29,6 +28,10 @@ services:
$validator: '@Symfony\Component\Validator\Validator\ValidatorInterface'
tags: ['controller.service_arguments']
Chill\MainBundle\Controller\UserController:
autowire: true
autoconfigure: true
Chill\MainBundle\Controller\NotificationController:
arguments:
$security: '@Symfony\Component\Security\Core\Security'