public function getIterator() { $this->checkState(); $value = $this->getValue(); if (!is_array($value)) { $value = array($value); } return new ArrayIterator($value); }