Exemple #1
0
 /**
  * Sets up the router based on the configuration provided
  *
  * @param  Application $application
  * @return void
  */
 protected function setupRouter(ApplicationInterface $application)
 {
     $router = $application->getLocator()->get('Zend\\Mvc\\Router\\RouteStackInterface');
     $application->setRouter($router);
 }