array( 'routes' => array( 'demande' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/demande', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'demande', ), ), ), 'submitDemandeForm' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/submitDemandeForm', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'submitDemandeForm', ), ), ), 'contact' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/contact', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'contact', ), ), ), 'documents' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/documents', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'documents', ), ), ), 'news' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/news', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'news', ), ), ), 'accountPdf' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/accountPdf', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'accountPdf', ), ), ), 'paiementok' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/paiementok', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'paiementok', ), ), ), 'paiementko' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/paiementko', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'paiementko', ), ), ), 'connexion' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/login[/:code][/:portail]', 'constraints' => array( 'code' => '[a-zA-Z][a-zA-Z0-9_-]*', 'portail' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'connexion', ), ), ), // API 'api' => array( 'type' => 'Literal', 'options' => array( 'route' => '/api', 'constraints' => array( 'version' => '[a-zA-Z][a-zA-Z0-9_-]*', 'type' => '[a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Api', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'connexionMobile' => array( 'type' => 'segment', 'options' => array( 'route' => '/login', 'constraints' => array(), 'defaults' => array( 'controller' => 'Etudiant\Controller\Api', 'action' => 'login', ), ), ), // Salto operations 'salto' => array( 'type' => 'segment', 'options' => array( 'route' => '/salto', 'defaults' => array( 'action' => 'salto', ), ), ), 'token' => array( 'type' => 'segment', 'options' => array( 'route' => '/token', 'defaults' => array( 'action' => 'token', ), ), ), // Reservations operations // ReservationController => Application\src\Controller // Detail reservation = http://51.255.170.135:4011/reservation/detailresa?idReservation=11 'reservations_etat' => array( 'type' => 'Segment', 'options' => array( 'route' => '/reservations_etat[/:id]', 'defaults' => array( 'controller' => 'Etudiant\Controller\Api', 'action' => 'reservationsEtat', ), 'constraints' => array( 'id' => '[1-9]\d*', ), ), ), 'documents' => array( 'type' => 'Segment', 'options' => array( 'route' => '/:idReservation/documents', 'defaults' => array( 'controller' => 'Etudiant\Controller\Api', 'action' => 'documents', ), 'constraints' => array( 'idReservation' => '[1-9]\d*', ), ), ), // Residences operations 'residences' => array( 'type' => 'Segment', 'options' => array( 'route' => '/residences[/:id]', 'defaults' => array( 'controller' => 'Etudiant\Controller\Api', 'action' => 'residences', ), 'constraints' => array( 'id' => '[1-9]\d*', ), ), ), ), ), // END API 'pays' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/pays', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'pays', ), ), ), 'sexe' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/sexe', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'sexe', ), ), ), 'annee-etude' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/annee-etude', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'anneeEtude', ), ), ), 'batiments' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/batiments', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'batiments', ), ), ), 'campagnes' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/campagnes', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'campagnes', ), ), ), 'categories-documents' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/categories-documents', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'categoriesDocuments', ), ), ), 'civilites' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/civilites', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'civilites', ), ), ), 'jour-ouvert' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/jour-ouvert', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'checkDayOpen', ), ), ), 'verif-renonce-rdv' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/verif-renonce-rdv', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'checkRenonceOrRdv', ), ), ), 'get-rdv-parametres-glob' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/get-rdv-parametres-glob', 'defaults' => array( 'controller' => 'Reservation\Controller\Configuration', 'action' => 'getRdvParametresGlob', ), ), ), 'verif-creneau-dispo' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/verif-creneau-dispo', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'checkIfCreneauAlreadyTaken', ), ), ), 'ressources-edl' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/ressources-edl', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'checkRessourcesDemiJourne', ), ), ), 'duree-creneaux' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/duree-creneaux', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'getDureeCreneaux', ), ), ), 'liste-creneaux' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/liste-creneaux', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'getListOfCreneaux', ), ), ), 'jour-non-travaille' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/jour-non-travaille', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'checkDayOff', ), ), ), 'supplements' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/supplements', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'supplements', ), ), ), 'rib' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/rib', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'rib', ), ), ), 'hsepa' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/horssepa', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'horssepa', ), ), ), 'paiementcancel' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/paiementcancel', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'paiementcancel', ), ), ), 'autoresponse' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/autoresponse[/:idApiPaiement]', 'constraints' => array( 'idApiPaiement' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'autoresponse', ), ), ), 'autoresponsesrv2srv' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/autoresponsesrv2srv', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'autoresponsesrv2srv', ), ), ), 'mon-compte' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/mon-compte', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'account', ), ), ), 'mes-alertes' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/mes-alertes', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'alertes', ), ), ), 'conseils' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/conseils', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'conseils', ), ), ), 'edl' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/edl', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'edl', ), ), ), 'depart' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/depart', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'depart', ), ), ), 'mes-infos' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/mes-infos', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'infos', ), ), ), 'boutique-en-ligne' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/boutique-en-ligne', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'boutiqueEnLigne', ), ), ), 'borneself' => array( 'type' => 'Segment', 'options' => array( 'route' => '/borneself[/:action]', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'borneself', ), ), ), 'borneselfpaiementablette' => array( 'type' => 'Segment', 'options' => array( 'route' => '/borneselfpaiementablette[/:montant][/:NO_CLIENT]', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'borneselfpaiementablette', ), ), ), 'borneselfpaiement' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/borneselfpaiement', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'borneselfpaiement', ), ), ), 'borneselfpaiementsuccesstablette' => array( 'type' => 'Segment', 'options' => array( 'route' => '/borneselfpaiementsuccesstablette[/:NO_CLIENT]', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'borneselfpaiementsuccesstablette', ), ), ), 'borneselfpaiementcanceltablette' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/borneselfpaiementcanceltablette', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'borneselfpaiementcanceltablette', ), ), ), 'paiementkotablette' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/paiementkotablette', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'paiementkotablette', ), ), ), 'lieux' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/lieux', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'lieux', ), ), ), 'interv' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/interv', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'interventions', ), ), ), 'mes-infos-pay' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/mes-infos-pay', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'payement', ), ), ), 'mes-res' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/mes-res', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'reservation', ), ), ), 'mes-rdv' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/mes-rdv', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'rdv', ), ), ), 'residence' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/residence', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'residence', ), ), ), 'services' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/services', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'services', ), ), ), 'certif' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/certificat-hebergement', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'certifhebergement', ), ), ), 'upload' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/upload[/:id][/:extra]', 'constraints' => array( 'id' => '[0-9]*', 'extra' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'upload', ), ), 'may_terminate' => true, ), 'deletedoc' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/deletedoc', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'deletedoc', ), ), ), 'login' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/login', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'login', ), ), ), 'logout' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/logout', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'logout', ), ), ), 'ssologin' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/ssologin', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'ssologin', ), ), ), 'rdv' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/sendmail', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'sendmailrdv', ), ), ), 'list' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/list', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'list', ), ), 'may_terminate' => true, 'child_routes' => array( 'default' => array( 'type' => 'Segment', 'options' => array( 'route' => '/[:controller[/:action[/:id]]]', 'constraints' => array( 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( ), ), ), ), ), 'edit' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/edit', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'edit', ), ), ), 'delete' => array( 'type' => 'Zend\Mvc\Router\Http\Literal', 'options' => array( 'route' => '/delete', 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'delete', ), ), 'may_terminate' => true, 'child_routes' => array( 'default' => array( 'type' => 'Segment', 'options' => array( 'route' => '/[:controller[/:action[/:id]]]', 'constraints' => array( 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( ), ), ), ), ), 'facture' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/facture[/:id][/:extra]', 'constraints' => array( 'id' => '[0-9]*', 'extra' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'facture', ), ), 'may_terminate' => true, ), 'identification' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/identification[/:action][/:id][/:acces]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', 'acces' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'motdepasseoublie', ), ), 'may_terminate' => true, ), 'mails' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/mails[/:action][/:id]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'mails', ), ), 'may_terminate' => true, ), 'resident' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/resident[/:action][/:id]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'index', ), ), 'may_terminate' => true, ), 'demandeTerminal' => array( 'type' => 'Zend\Mvc\Router\Http\Segment', 'options' => array( 'route' => '/demandeTerminal[/:action][/:id]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'index', ), ), 'may_terminate' => true, ), 'generer' => array( 'type' => 'segment', 'options' => array( 'route' => '/generer[/:action][/:id][/:extra]', 'constraints' => array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]+', 'extra' => '[a-zA-Z0-9][a-zA-Z0-9_\.-]*', ), 'defaults' => array( 'controller' => 'Etudiant\Controller\Index', 'action' => 'facture', ), ), ), // The following is a route to simplify getting started creating // new controllers and actions without needing to create a new // module. Simply drop new controllers in, and you can access them // using the path /Etudiant/:controller/:action 'etudiant' => array( 'type' => 'Literal', 'options' => array( 'route' => '/etudiant', 'defaults' => array( '__NAMESPACE__' => 'Etudiant\Controller', 'controller' => 'Index', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'default' => array( 'type' => 'Segment', 'options' => array( 'route' => '/[:controller[/:action[/:id]]]', 'constraints' => array( 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', 'id' => '[0-9]*', ), 'defaults' => array( ), ), ), ), ), ), ), 'service_manager' => array( 'abstract_factories' => array( 'Zend\Cache\Service\StorageCacheAbstractServiceFactory', 'Zend\Log\LoggerAbstractServiceFactory', ), 'aliases' => array( 'translator' => 'MvcTranslator', ), ), 'translator' => array( 'locale' => 'en_US', 'translation_file_patterns' => array( array( 'type' => 'gettext', 'base_dir' => __DIR__ . '/../language', 'pattern' => '%s.mo', ), ), ), 'controllers' => array( 'invokables' => array( 'Etudiant\Controller\Index' => 'Etudiant\Controller\IndexController', 'Etudiant\Controller\Api' => 'Etudiant\Controller\ApiController', ), ), 'controller_plugins' => array( 'factories' => [ 'ServiceLocator' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\ServiceLocator($serviceLocator); }, 'Commons' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\Commons($serviceLocator); }, 'IndexAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\IndexAction($serviceLocator); }, 'AboutAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\AboutAction($serviceLocator); }, 'ReservationAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\ReservationAction($serviceLocator); }, 'AccountAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\AccountAction($serviceLocator); }, 'DocumentAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\DocumentAction($serviceLocator); }, 'EdlAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\EdlAction($serviceLocator); }, 'MailAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\MailAction($serviceLocator); }, 'DemandeAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\DemandeAction($serviceLocator); }, 'DepartAction' => function ($pluginManager) { /** @var \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator */ $serviceLocator = $pluginManager->getServiceLocator(); return new Etudiant\Controller\Plugin\DepartAction($serviceLocator); }, ], ), 'view_manager' => array( 'display_not_found_reason' => true, 'display_exceptions' => true, 'doctype' => 'HTML5', //'not_found_template' => 'error/404', //'exception_template' => 'error/index', 'template_map' => array( 'layout/layout-etudiant' => __DIR__ . '/../view/layout/layout-etudiant.phtml', 'Etudiant/index/index' => __DIR__ . '/../view/Etudiant/index/index.phtml', //'error/404' => __DIR__ . '/../view/error/404.phtml', //'error/index' => __DIR__ . '/../view/error/index.phtml', ), 'template_path_stack' => array( __DIR__ . '/../view', ), ), // Placeholder for console routes 'console' => array( 'router' => array( 'routes' => array( ), ), ), );