AscmvcDispatchListenerInterface

Extends

AscmvcRenderListenerInterface allows the implementing class to be consumed as a AscmvcEventManager class listener.

The interface's methods correspond exactly to the application's events as they are used in its run() method so that, in turn, these methods may be dynamically called by the EventManager's event-driven "trigger" methods.

package

LightMVC/ASCMVC

Methods

Allows an implementing object to interrupt the application's runtime after the registration of the controller object, but before the controller manager's call to the controller's action method. This phase allows for controller specific configuration.

onDispatch(\Ascmvc\Mvc\AscmvcEvent $event) 

Arguments