Bundle/CoreBundle/Listener/MenuDispatcher.php
public function onKernelRequest(GetResponseEvent $event)
    {
        if ($this->tokenStorage->getToken() && $this->authorizationChecker->isGranted('ROLE_VICTOIRE')) {
            $this->eventDispatcher->dispatch('victoire_core.build_menu', $event);
        }
    }
public function onKernelRequest(GetResponseEvent $event)
    {
        if ($this->tokenStorage->getToken() && $this->authorizationChecker->isGranted('ROLE_VICTOIRE')) {
            $this->eventDispatcher->dispatch('victoire_core.build_menu', $event);
        }
    }
public function onKernelRequest ( GetResponseEvent $ event ) { if ( $ this -> tokenStorage -> getToken ( ) && $ this -> authorizationChecker -> isGranted ( 'ROLE_VICTOIRE' ) ) { $ this -> eventDispatcher -> dispatch ( 'victoire_core.build_menu' , $ event ) ; } }
Dispatch event to build the Victoire's global menu items.

@param GetResponseEvent $event
Dispatch event to build the Victoire s global menu items .