]> Raphaƫl G. Git Repositories - userbundle/blob - Resources/config/packages/rapsys_user.yaml
0506c04269b932143cafa22e997d586c0cef396d
[userbundle] / Resources / config / packages / rapsys_user.yaml
1 #Service configuration
2 services:
3 #Register slugger utils service
4 rapsys_user.slugger:
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'
13 public: true
14 arguments: [ [ '@security.access.role_hierarchy_voter' ] ]
15 #Register default controller
16 Rapsys\UserBundle\Controller\DefaultController:
17 arguments: [ '@service_container', '@router', '@translator' ]
18 autowire: true
19 tags: [ 'controller.service_arguments' ]