public function getCurrentPage() : float { return floor($this->firstResult / $this->maxResults) + 1.0; }