iterator = $iterator; } public function advance(): Promise { return $this->iterator->advance(); } public function getCurrent() { return $this->iterator->getCurrent(); } }