public function current() { if ($this->valid()) { return $this->items[$this->pointer]; } return null; }