public function __construct($name) { $this->setName($name); }
/** * * @param string $name */ public function __construct($name) { parent::__construct($name); $this->transitions = new SplObjectStorage(); $this->events = new NamedCollection(); $this->metadata = new Nullable(); }