Method | 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 ) |
public __construct ( MetaborStd\Statemachine\Factory\ProcessDetectorInterface $processDetector, MetaborStd\Statemachine\Factory\StateNameDetectorInterface $stateNameDetector = null ) | ||
$processDetector | MetaborStd\Statemachine\Factory\ProcessDetectorInterface | |
$stateNameDetector | MetaborStd\Statemachine\Factory\StateNameDetectorInterface |
public attachStatemachineObserver ( SplObserver $observer ) | ||
$observer | SplObserver |
public createStatemachine ( object $subject ) : MetaborStd\Statemachine\StatemachineInterface | ||
$subject | object | |
return | MetaborStd\Statemachine\StatemachineInterface |
public detachStatemachineObserver ( SplObserver $observer ) | ||
$observer | SplObserver |
public getStatemachineObserver ( ) : Traversable | ||
return | Traversable |
public setMutexFactory ( MetaborStd\Semaphore\MutexFactoryInterface $mutexFactory = null ) | ||
$mutexFactory | MetaborStd\Semaphore\MutexFactoryInterface |
public setTransitonSelector ( MetaborStd\Statemachine\Factory\TransitionSelectorInterface $transitionSelector ) | ||
$transitionSelector | MetaborStd\Statemachine\Factory\TransitionSelectorInterface |