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: services:
Chill\DocStoreBundle\Controller\: _defaults:
resource: '../../Controller' autowire: true
tags: ['controller.service_arguments'] autoconfigure: true
Chill\DocStoreBundle\Controller\DocumentPersonController: Chill\DocStoreBundle\Controller\:
arguments: resource: "../../Controller"
$translator: '@Symfony\Component\Translation\TranslatorInterface' tags: ["controller.service_arguments"]
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
tags: ['controller.service_arguments']