PHP Class Metabor\Statemachine\Factory\Factory

Author: Oliver Tischlinger
Inheritance: implements MetaborStd\Statemachine\Factory\FactoryInterface
Afficher le fichier Open project: metabor/statemachine

Méthodes publiques

Méthode Description
__construct ( MetaborStd\Statemachine\Factory\ProcessDetectorInterface $processDetector, MetaborStd\Statemachine\Factory\StateNameDetectorInterface $stateNameDetector = null )
attachStatemachineObserver ( SplObserver $observer )
createStatemachine ( object $subject ) : MetaborStd\Statemachine\StatemachineInterface
detachStatemachineObserver ( SplObserver $observer )
getStatemachineObserver ( ) : Traversable
setMutexFactory ( MetaborStd\Semaphore\MutexFactoryInterface $mutexFactory = null )
setTransitonSelector ( MetaborStd\Statemachine\Factory\TransitionSelectorInterface $transitionSelector )

Method Details

__construct() public méthode

public __construct ( MetaborStd\Statemachine\Factory\ProcessDetectorInterface $processDetector, MetaborStd\Statemachine\Factory\StateNameDetectorInterface $stateNameDetector = null )
$processDetector MetaborStd\Statemachine\Factory\ProcessDetectorInterface
$stateNameDetector MetaborStd\Statemachine\Factory\StateNameDetectorInterface

attachStatemachineObserver() public méthode

public attachStatemachineObserver ( SplObserver $observer )
$observer SplObserver

createStatemachine() public méthode

public createStatemachine ( object $subject ) : MetaborStd\Statemachine\StatemachineInterface
$subject object
Résultat MetaborStd\Statemachine\StatemachineInterface

detachStatemachineObserver() public méthode

public detachStatemachineObserver ( SplObserver $observer )
$observer SplObserver

getStatemachineObserver() public méthode

setMutexFactory() public méthode

public setMutexFactory ( MetaborStd\Semaphore\MutexFactoryInterface $mutexFactory = null )
$mutexFactory MetaborStd\Semaphore\MutexFactoryInterface

setTransitonSelector() public méthode

public setTransitonSelector ( MetaborStd\Statemachine\Factory\TransitionSelectorInterface $transitionSelector )
$transitionSelector MetaborStd\Statemachine\Factory\TransitionSelectorInterface