Class ForwardedOperationDispatcher
A dispatcher for forwarded operations.
- ICanBoogie\Module\ForwardedOperationDispatcher implements ICanBoogie\HTTP\Dispatcher
Methods summary
public
rescue( Exception $exception, ICanBoogie\HTTP\Request $request )
If the exception in not a Failure instance it is rethrown, otherwise it means that an exception occurred during control/validate/process or a Failure was thrown because the response has an error.
protected
assert_forward_is_valid( ICanBoogie\HTTP\Request $request )
Asserts that a forward is valid.
protected
resolve_operation( ICanBoogie\HTTP\Request $request )
: ICanBoogie\Operation
Resolves an ICanBoogie\Operation instance from forwarded parameters.
protected
resolve_operation_constructor( string $operation_name, ICanBoogie\Module $module )
: callable
Resolves operation constructor.