__construct() public method

public __construct ( array $configs )
$configs array Array of configs for the available state machines
コード例 #1
0
ファイル: Factory.php プロジェクト: winzou/state-machine
 public function __construct(array $configs, EventDispatcherInterface $dispatcher = null, CallbackFactoryInterface $callbackFactory = null)
 {
     parent::__construct($configs);
     $this->dispatcher = $dispatcher;
     $this->callbackFactory = $callbackFactory;
 }