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