PHP Class Metabor\Statemachine\Process

Author: Oliver Tischlinger
Inheritance: extends Metabor\Named, implements MetaborStd\Statemachine\ProcessInterface, implements MetaborStd\MergeableInterface
Afficher le fichier Open project: metabor/statemachine Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $name, MetaborStd\Statemachine\StateInterface $initialState )
getInitialState ( )
getState ( string $name )
getStateCollectionMerger ( ) : StateCollectionMerger
getStates ( )
hasState ( string $name ) : boolean
merge ( $source )

Méthodes protégées

Méthode Description
addState ( MetaborStd\Statemachine\StateInterface $state )
createCollection ( )
initProcess ( SetupHelper $setupHelper )

Method Details

__construct() public méthode

public __construct ( string $name, MetaborStd\Statemachine\StateInterface $initialState )
$name string
$initialState MetaborStd\Statemachine\StateInterface

addState() protected méthode

protected addState ( MetaborStd\Statemachine\StateInterface $state )
$state MetaborStd\Statemachine\StateInterface

createCollection() protected méthode

protected createCollection ( )

getInitialState() public méthode

public getInitialState ( )

getState() public méthode

public getState ( string $name )
$name string

getStateCollectionMerger() public méthode

public getStateCollectionMerger ( ) : StateCollectionMerger
Résultat Metabor\Statemachine\Util\StateCollectionMerger

getStates() public méthode

public getStates ( )

hasState() public méthode

public hasState ( string $name ) : boolean
$name string
Résultat boolean

initProcess() protected méthode

protected initProcess ( SetupHelper $setupHelper )
$setupHelper Metabor\Statemachine\Util\SetupHelper

merge() public méthode

See also: MetaborStd\MergeableInterface::merge()
public merge ( $source )