Update controller and the way they are autoloaded

This commit is contained in:
Julie Lenaerts 2021-09-14 10:30:52 +02:00
parent dcbac34b96
commit f7cb93fdac

View File

@ -1,11 +1,9 @@
services:
Chill\DocStoreBundle\Controller\:
resource: '../../Controller'
tags: ['controller.service_arguments']
Chill\DocStoreBundle\Controller\DocumentPersonController:
arguments:
$translator: '@Symfony\Component\Translation\TranslatorInterface'
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
tags: ['controller.service_arguments']
_defaults:
autowire: true
autoconfigure: true
Chill\DocStoreBundle\Controller\:
resource: "../../Controller"
tags: ["controller.service_arguments"]