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