3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
6 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Application;
12 use Zend\Mvc\ModuleRouteListener;
16 public function onBootstrap($e)
18 $e->getApplication()->getServiceManager()->get('translator');
19 $eventManager = $e->getApplication()->getEventManager();
20 $moduleRouteListener = new ModuleRouteListener();
21 $moduleRouteListener->attach($eventManager);
24 public function getConfig()
26 return include __DIR__ . '/config/module.config.php';
29 public function getAutoloaderConfig()
32 'Zend\Loader\StandardAutoloader' => array(
33 'namespaces' => array(
34 __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,