/** * @return void */ public function next() { ++$this->key; $this->current = $this->searchResult->createDataObject($this->query->fetchItem()); }