protected function setCurrentPage($currentPage = 0) { $this->currentPage = (int) $currentPage; return $this; }