total > ($this->page * $this->limit); } public function hasPreviousPage(): bool { return $this->page > 1; } }