public function dispatch() { if (!
$this->
getParam('noViewRenderer'
)) { $this->
Plugins()->
load('ViewRenderer'
);
} $eventArgs =
new Enlight_Controller_EventArgs([ 'subject' =>
$this,
]);
$this->eventManager->
notify( 'Enlight_Controller_Front_StartDispatch',
$eventArgs );
if (!
$this->router
) { $this->
setRouter(Router::
class);
}