프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$configs | array | ||
$stateMachines | array |
메소드 | 설명 | |
---|---|---|
__construct ( array $configs ) | ||
addConfig ( array $config, string $graph = 'default' ) | Adds a new config | |
clear ( ) | {@inheritDoc} | |
get ( $object, $graph = 'default' ) | {@inheritDoc} |
메소드 | 설명 | |
---|---|---|
createStateMachine ( $object, array $config ) : SM\StateMachine\StateMachineInterface | Create a state machine for the given object and config |
public __construct ( array $configs ) | ||
$configs | array | Array of configs for the available state machines |
abstract protected createStateMachine ( $object, array $config ) : SM\StateMachine\StateMachineInterface | ||
$object | ||
$config | array | |
리턴 | SM\StateMachine\StateMachineInterface |