category Zend
package Zend_Mvc

 Methods

Attach to an event manager

attach(\Zend\EventManager\EventManagerInterface $events) : void

Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.

Parameters

Detach all our listeners from the event manager

detach(\Zend\EventManager\EventManagerInterface $events) : void

Listen to the "route" event and attempt to route the request

onRoute(\Zend\Mvc\MvcEvent $e) : null | \Zend\Mvc\Router\RouteMatch

If no matches are returned, triggers "dispatch.error" in order to create a 404 response.

Seeds the event with the route match on completion.

Parameters

Returns

 Properties

 

$listeners

$listeners : \Zend\Stdlib\CallbackHandler[]