Hi
I can see in the module Application quick start:
public function onBootstrap(MvcEvent $e)
    {
        $translator =
$e->getApplication()->getServiceManager()->get('translator');
        $application = $e->getApplication();
        $eventManager  = $application->getEventManager();
        $moduleRouteListener = new ModuleRouteListener();
        $moduleRouteListener->attach($eventManager);
    }
but I can't figure out the use or what's it for.
Can you give a pratical exampkle or a short explanation, please ?
Bye.



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zend-2-ModuleRouteListener-pratical-example-tp4659503.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to