/** * Get the last page. * * @return int */ public function getLastPage() { return $this->paginator->lastItem(); }