3 * Application blanche (http://zf2.biz)
4 * utiise Zend Framework (http://framework.zend.com/)
6 * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
7 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
8 * @license http://framework.zend.com/license/new-bsd New BSD License
13 use Zend\Mvc\ModuleRouteListener;
14 use Zend\Mvc\MvcEvent;
18 public function onBootstrap(MvcEvent $e)
20 $e->getApplication()->getServiceManager()->get('translator');
21 $eventManager = $e->getApplication()->getEventManager();
22 $moduleRouteListener = new ModuleRouteListener();
23 $moduleRouteListener->attach($eventManager);
26 public function getConfig()
28 return include __DIR__ . '/config/module.config.php';
31 public function getAutoloaderConfig()
34 'Zend\Loader\ClassMapAutoloader' => array(
35 __DIR__ . '/config/autoload_classmap.php',