3 #Register security context service
4 rapsys_user.access_decision_manager:
5 class: 'Symfony\Component\Security\Core\Authorization\AccessDecisionManager'
7 arguments: [ [ '@security.access.role_hierarchy_voter' ] ]
8 #Register default controller
9 Rapsys\UserBundle\Controller\DefaultController:
10 arguments: [ '@service_container', '@router', '@translator' ]
12 tags: [ 'controller.service_arguments' ]
13 #Register logout success handler
14 Rapsys\UserBundle\Handler\LogoutSuccessHandler:
15 arguments: [ '@service_container', '@router' ]