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