Class FailureEvent
Event class for the ICanBoogie\Operation::failure
event.
-
ICanBoogie\Event
-
┗
ICanBoogie\Operation\FailureEvent
uses
ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
public
__construct( ICanBoogie\Operation
$target
, string $type
, ICanBoogie\HTTP\Request $request
)
The event is constructed with the type failure
.
The event is constructed with the type failure
.
Parameters
protected
get_is_control( void )
: boolean
Whether the failure occurred during control.
Whether the failure occurred during control.
Returns
boolean
protected
get_is_validate( void )
: boolean
Whether the failure occurred during validate.
Whether the failure occurred during validate.
Returns
boolean
Constants summary
TYPE_CONTROL
: string
The failure occurred during \ICanBoogie\Operation::control().
The failure occurred during \ICanBoogie\Operation::control().
'control'
TYPE_VALIDATE
: string
The failure occurred during \ICanBoogie\Operation::validate().
The failure occurred during \ICanBoogie\Operation::validate().
'validate'
Properties summary
public
$request
: ICanBoogie\HTTP\Request
The request that triggered the operation.
The request that triggered the operation.
Magic properties
public read-only
$is_control
: boolean
true
if failure occurred during \ICanBoogie\Operation::control(), false
otherwise.
public read-only
$is_validate
: boolean
true
if failure occurred during \ICanBoogie\Operation::validate(), false
otherwise.