PHP Classes

File: Resources/config/services.yml

Recommend this page to a friend!
  Classes of Roni  >  Easy Menu ACL Bundle  >  Resources/config/services.yml  >  Download  
File: Resources/config/services.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Easy Menu ACL Bundle
Build menu showing items depending on the user
Author: By
Last change:
Date: 6 months ago
Size: 978 bytes
 

Contents

Class file image Download
services:

      xiidea.easy_menu_acl.security.routeacl:
          class: Xiidea\EasyMenuAclBundle\Security\RouteAcl
          arguments: ['@security.token_storage',
                      '@security.access.decision_manager', '@security.access_map', '@router']
          public: false

      xiidea.easy_menu_acl.menu_builder:
          class: Xiidea\EasyMenuAclBundle\Menu\Builder
          arguments: ["@knp_menu.factory"]
          calls:
              - [ setEventDispatcher,[ '@event_dispatcher' ] ]

      xiidea.easy_menu_acl.access_filter:
          class: Xiidea\EasyMenuAclBundle\Security\AccessFilter
          arguments: ['@xiidea.easy_menu_acl.security.routeacl']

      xiidea.easy_menu_acl_listener:
        class: Xiidea\EasyMenuAclBundle\EventListener\EasyMenuPostBuildListener
        arguments: ['@xiidea.easy_menu_acl.access_filter']
        tags:
            - { name: kernel.event_listener, event: xiidea.easy_menu_acl_post_build, method: onMenuPostBuild }
For more information send a message to info at phpclasses dot org.