예제 #1
0
파일: Bootstrap.php 프로젝트: rikaix/zf2
 /**
  * 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);
 }