services:
    _defaults:
        public: true

    Oro\Bundle\NavigationBundle\Controller\UserAjaxMenuController:
        calls:
            - [setContainer, ['@Psr\Container\ContainerInterface']]
        tags:
            - { name: 'container.service_subscriber' }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateManager }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update.move, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateMoveManager }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update.display, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateDisplayManager }

    Oro\Bundle\NavigationBundle\Controller\GlobalAjaxMenuController:
        calls:
            - [setContainer, ['@Psr\Container\ContainerInterface']]
        tags:
            - { name: 'container.service_subscriber' }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateManager }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update.move, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateMoveManager }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update.display, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateDisplayManager }

    Oro\Bundle\NavigationBundle\Controller\GlobalMenuController:
        calls:
            - [setContainer, ['@Psr\Container\ContainerInterface']]
        tags:
            - { name: 'container.service_subscriber' }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateManager }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update.move, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateMoveManager }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update.display, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateDisplayManager }

    Oro\Bundle\NavigationBundle\Controller\UserMenuController:
        calls:
            - [setContainer, ['@Psr\Container\ContainerInterface']]
        tags:
            - { name: 'container.service_subscriber' }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateManager }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update.move, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateMoveManager }
            - { name: 'container.service_subscriber', id: oro_navigation.manager.menu_update.display, key: Oro\Bundle\NavigationBundle\Manager\MenuUpdateDisplayManager }

    Oro\Bundle\NavigationBundle\Controller\ShortcutController:
        calls:
            - [setContainer, ['@Psr\Container\ContainerInterface']]
        tags:
            - { name: 'container.service_subscriber' }
