mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix person document controller definition
This commit is contained in:
parent
4527ed35a3
commit
a4798e39b1
@ -49,8 +49,11 @@ class DocumentPersonController extends Controller
|
|||||||
* @param EventDispatcherInterface $eventDispatcher
|
* @param EventDispatcherInterface $eventDispatcher
|
||||||
* @param AuthorizationHelper $authorizationHelper
|
* @param AuthorizationHelper $authorizationHelper
|
||||||
*/
|
*/
|
||||||
public function __construct(TranslatorInterface $translator, EventDispatcherInterface $eventDispatcher, AuthorizationHelper $authorizationHelper)
|
public function __construct(
|
||||||
{
|
TranslatorInterface $translator,
|
||||||
|
EventDispatcherInterface $eventDispatcher,
|
||||||
|
AuthorizationHelper $authorizationHelper
|
||||||
|
) {
|
||||||
$this->translator = $translator;
|
$this->translator = $translator;
|
||||||
$this->eventDispatcher = $eventDispatcher;
|
$this->eventDispatcher = $eventDispatcher;
|
||||||
$this->authorizationHelper = $authorizationHelper;
|
$this->authorizationHelper = $authorizationHelper;
|
||||||
|
@ -5,5 +5,7 @@ services:
|
|||||||
|
|
||||||
Chill\DocStoreBundle\Controller\DocumentPersonController:
|
Chill\DocStoreBundle\Controller\DocumentPersonController:
|
||||||
arguments:
|
arguments:
|
||||||
|
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||||
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
|
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
|
||||||
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
||||||
|
tags: ['controller.service_arguments']
|
Loading…
x
Reference in New Issue
Block a user