public function current() { if (!$this->generator) { $this->rewind(); } return $this->generator->current(); }