public __construct ( MetaborStd\Statemachine\Factory\ProcessDetectorInterface $processDetector, MetaborStd\Statemachine\Factory\StateNameDetectorInterface $stateNameDetector = null ) | ||
$processDetector | MetaborStd\Statemachine\Factory\ProcessDetectorInterface | |
$stateNameDetector | MetaborStd\Statemachine\Factory\StateNameDetectorInterface |
public function __construct(ProcessDetectorInterface $processDetector, StateNameDetectorInterface $stateNameDetector = null)
{
$this->processDetector = $processDetector;
$this->stateNameDetector = $stateNameDetector;
$this->statemachineObserver = new \SplObjectStorage();
}