Méthode | Description | |
---|---|---|
__construct ( MetaborStd\Statemachine\StateInterface $targetState, string $eventName = null, MetaborStd\Statemachine\ConditionInterface $condition = null ) | ||
getCondition ( ) : MetaborStd\Statemachine\ConditionInterface | ||
getConditionName ( ) | ||
getEventName ( ) | ||
getTargetState ( ) | ||
getWeight ( ) : float | ||
isActive ( $subject, ArrayAccess $context, MetaborStd\Event\EventInterface $event = null ) | ||
setWeight ( float $weight ) |
public __construct ( MetaborStd\Statemachine\StateInterface $targetState, string $eventName = null, MetaborStd\Statemachine\ConditionInterface $condition = null ) | ||
$targetState | MetaborStd\Statemachine\StateInterface | |
$eventName | string | |
$condition | MetaborStd\Statemachine\ConditionInterface |
public getCondition ( ) : MetaborStd\Statemachine\ConditionInterface | ||
Résultat | MetaborStd\Statemachine\ConditionInterface |
public isActive ( $subject, ArrayAccess $context, MetaborStd\Event\EventInterface $event = null ) | ||
$context | ArrayAccess | |
$event | MetaborStd\Event\EventInterface |