PHP Class Metabor\Statemachine\StateCollection

Author: Oliver Tischlinger
Inheritance: implements MetaborStd\Statemachine\StateCollectionInterface, implements MetaborStd\MergeableInterface
Datei anzeigen Open project: metabor/statemachine Class Usage Examples

Public Methods

Method Description
__construct ( )
addState ( MetaborStd\Statemachine\StateInterface $state )
getState ( $name )
getStateCollectionMerger ( ) : StateCollectionMerger
getStates ( )
hasState ( $name )
merge ( $source )

Method Details

__construct() public method

public __construct ( )

addState() public method

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

getState() public method

public getState ( $name )

getStateCollectionMerger() public method

public getStateCollectionMerger ( ) : StateCollectionMerger
return Metabor\Statemachine\Util\StateCollectionMerger

getStates() public method

public getStates ( )

hasState() public method

public hasState ( $name )

merge() public method

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