$this->eventManager->
notify( 'Enlight_Controller_Front_RouteStartup',
$eventArgs );
/*
* Route request to controller/action, if a router is provided
*/
try { $this->
ensureRouter()->
route($this->
ensureRequest());
} catch (Exception
$e) { if ($this->
throwExceptions()) { throw $e;
} $this->
Response()->
setException($e);
} /*
* Notify plugins of router completion
*/
$this->eventManager->
notify( 'Enlight_Controller_Front_RouteShutdown',
$eventArgs );