Class Dispatcher
Dispatches HTTP requests.
Events
ICanBoogie\HTTP\Dispatcher::dispatch:before
of classICanBoogie\HTTP\Dispatcher\BeforeDispatchEvent
.ICanBoogie\HTTP\Dispatcher::dispatch
of classICanBoogie\HTTP\Dispatcher\DispatchEvent
.ICanBoogie\HTTP\Dispatcher::rescue
of classICanBoogie\Exception\RescueEvent
.
- ICanBoogie\HTTP\Dispatcher implements ArrayAccess, IteratorAggregate, ICanBoogie\HTTP\DispatcherInterface
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 |
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
|