3 #Register slugger utils service
5 class: 'Rapsys\UserBundle\Utils\Slugger'
6 arguments: [ '@service_container' ]
7 #Register slugger utils alias
8 Rapsys\UserBundle\Utils\Slugger:
9 alias: 'rapsys_user.slugger'
10 #Register security context service
11 rapsys_user.access_decision_manager:
12 class: 'Symfony\Component\Security\Core\Authorization\AccessDecisionManager'
14 arguments: [ [ '@security.access.role_hierarchy_voter' ] ]
15 #Register default controller
16 Rapsys\UserBundle\Controller\DefaultController:
17 arguments: [ '@service_container', '@router', '@translator' ]
19 tags: [ 'controller.service_arguments' ]