Class BeforeDispatchEvent
Event class for the ICanBoogie\HTTP\Dispatcher::dispatch:before
event.
Third parties may use this event to provide a response to the request before the dispatchers are invoked. The event is usually used by third parties to redirect requests or provide cached responses.
- ICanBoogie\Event
-
ICanBoogie\HTTP\Dispatcher\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
|