public function current() { if (!$this->initialized) { $this->generate(); $this->initialized = true; } return $this->current; }