public function onBootstrap(MvcEvent $e)
    {
        // we attach with wildcard events name
        $events = $e->getApplication()->getEventManager();
        $events->attach(
            MvcEvent::EVENT_RENDER,
            new InjectSubNavigationListener(),
            10
        );
    }
public function onBootstrap(MvcEvent $e)
    {
        // we attach with wildcard events name
        $events = $e->getApplication()->getEventManager();
        $events->attach(
            MvcEvent::EVENT_RENDER,
            new InjectSubNavigationListener(),
            10
        );
    }
public function onBootstrap ( MvcEvent $ e ) { // we attach with wildcard events name $ events = $ e -> getApplication ( ) -> getEventManager ( ) ; $ events -> attach ( MvcEvent :: EVENT_RENDER , new InjectSubNavigationListener ( ) , 10 ) ; }
Sets up services on the bootstrap event.

@internal
Creates the translation service and a ModuleRouteListener

@param MvcEvent $e
Sets up services on the bootstrap event .