Class Dispatcher
Dispatches operation requests.
-
ICanBoogie\Operation\Dispatcher
implements
ICanBoogie\HTTP\IDispatcher
Methods summary
public
ICanBoogie\Operation\Response
|
#
__invoke( ICanBoogie\HTTP\Request $request )
Tries to create an ICanBoogie\Operation instance from the specified request. The
operation is then executed and its response returned.
Tries to create an ICanBoogie\Operation instance from the specified request. The
operation is then executed and its response returned.
If an operation could be created from the request, the operation
property of the request's context is set to that operation.
For forwarded operation, successful responses are not returned unless the
request is an XHR or the response has a location.
Parameters
Returns
Implementation of
|
public
ICanBoogie\HTTP\Response
|
|
Magic methods summary