Свойство | Type | Description | |
---|---|---|---|
$configs | array | ||
$stateMachines | array |
Méthode | Description | |
---|---|---|
__construct ( array $configs ) | ||
addConfig ( array $config, string $graph = 'default' ) | Adds a new config | |
clear ( ) | {@inheritDoc} | |
get ( $object, $graph = 'default' ) | {@inheritDoc} |
Méthode | 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 | |
Résultat | SM\StateMachine\StateMachineInterface |