Class RequestDispatcher
Dispatches HTTP requests.
Events
ICanBoogie\HTTP\RequestDispatcher::dispatch:before
of classICanBoogie\HTTP\RequestDispatcher\BeforeDispatchEvent
.ICanBoogie\HTTP\RequestDispatcher::dispatch
of classICanBoogie\HTTP\RequestDispatcher\DispatchEvent
.ICanBoogie\HTTP\RequestDispatcher::rescue
of classICanBoogie\Exception\RescueEvent
.
- ICanBoogie\HTTP\RequestDispatcher implements ArrayAccess, IteratorAggregate, ICanBoogie\HTTP\Dispatcher
Methods summary
public
|
#
__construct( array $dispatchers = [] )
Initializes the |
public
|
#
__invoke(
Dispatches the request to retrieve a |
public
boolean
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
#
dispatch_with_dispatcher(
Dispatches the request using a dispatcher. |
public
|
#
rescue(
Tries to get a |
protected
|
#
alter_response_with_exception(
Alters a response with an exception. |
Properties summary
protected
array
|
$dispatchers
The dispatchers called during the dispatching of the request. |
#
[]
|
protected
array
|
$dispatchers_weight
The weights of the dispatchers. |
#
[]
|
protected
|
$dispatchers_order
|