public function &getIterator() { foreach ($this->iterator as $key => &$value) { (yield $key => $value); } }