/** * Fetches the current data. * @return array */ protected function getCurrentData() { return $this->key() > $this->count() ? null : $this->result->fetchArray($this->key() - 1); }