Class BeforeDispatchEvent
Event class for the
ICanBoogie\Routing\Dispatcher::dispatch:before
event.
Third parties may use this event to provide a response to the request before the route is mapped. The event is usually used by third parties to redirect requests or provide cached responses.
- ICanBoogie\Event
- ICanBoogie\Routing\Dispatcher\BeforeDispatchEvent
Methods summary
public
|
#
__construct(
The event is constructed with the type |
Methods inherited from ICanBoogie\Event
Magic methods summary
Properties summary
public
|
$route |
#
The route. |
public
|
$request |
#
The HTTP request. |
public
|
$response |
#
Reference to the HTTP response. |