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;
13 use Zend\Mvc\MvcEvent;
17 public function onBootstrap(MvcEvent $e)
19 $e->getApplication()->getServiceManager()->get('translator');
20 $eventManager = $e->getApplication()->getEventManager();
21 $moduleRouteListener = new ModuleRouteListener();
22 $moduleRouteListener->attach($eventManager);
25 public function getConfig()
27 return include __DIR__ . '/config/module.config.php';
30 public function getAutoloaderConfig()
33 'Zend\Loader\StandardAutoloader' => array(
34 'namespaces' => array(
35 __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,