fix sf4 deprecated: improve relying AuthorizationHelper service

This commit is contained in:
2020-07-23 12:51:07 +02:00
parent 61c11c3eee
commit c5b1caefb6
2 changed files with 13 additions and 3 deletions

View File

@@ -5,5 +5,7 @@ services:
Chill\DocStoreBundle\Controller\DocumentPersonController:
autowire: true
public: true # TODO sf4, check if service could be public
arguments:
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'