public function getIterator() { return new \ArrayIterator($this->collection); }
/** * * @see MetaborStd\Statemachine.StateCollectionInterface::getStates() */ public function getStates() { return $this->states->getIterator(); }