/** * Get an iterator for the items. * * @return ArrayIterator */ public function getIterator() { $parentAttributes = $this->parent !== null ? $this->parent->getIterator()->getArrayCopy() : []; return new ArrayIterator(array_merge($parentAttributes, $this->vo->getAttributes())); }
/** * get pure object to array * * @return array */ public function getPureAll() { return $this->vo->getAttributes(); }