public function rewind() { $function = $this->function; $this->generator = $function(...$this->args); }