public function getIterator() { $attributes = $this->getAttributes(); return new ArrayIterator($attributes); }