Class BeforeDispatchEvent
Event class for the ICanBoogie\HTTP\RequestDispatcher::dispatch:before
event.
Event hooks may use this event to provide a response to the request before the domain dispatchers are invoked. The event is usually used by event hooks to redirect requests or provide cached responses.
- ICanBoogie\Event
- ICanBoogie\HTTP\RequestDispatcher\BeforeDispatchEvent
Methods summary
protected
|
|
protected
|
|
protected
|
|
public
|
#
__construct(
The event is constructed with the type |
Properties summary
Magic properties
public
|
$response
|
public read-only
|
$request
|