Class DispatchEvent
Event class for the ICanBoogie\Routing\RouteDispatcher::dispatch
event.
Third parties may use this event to alter the response before it is returned by the dispatcher.
- ICanBoogie\Event
- ┗ ICanBoogie\Routing\RouteDispatcher\DispatchEvent
Methods summary
public
__construct( ICanBoogie\Routing\RouteDispatcher
$target
, ICanBoogie\Routing\Route
$route
, ICanBoogie\HTTP\Request $request
, ICanBoogie\HTTP\Response & $response
= null )
The event is constructed with the type dispatch
.