Property | Type | Description | |
---|---|---|---|
$configs | array | ||
$stateMachines | array |
Method | Description | |
---|---|---|
__construct ( array $configs ) | ||
addConfig ( array $config, string $graph = 'default' ) | Adds a new config | |
clear ( ) | {@inheritDoc} | |
get ( $object, $graph = 'default' ) | {@inheritDoc} |
Method | Description | |
---|---|---|
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 | |
return | SM\StateMachine\StateMachineInterface |