<?php namespace App\Model; class Pagination { private int $currentPage = 1; private int $pages; private int $pageSize; public function __construct(int $currentPage, int $pages, int $pageSize) { $this->currentPage = $currentPage; $this->pages = $pages; $this->pageSize = $pageSize; } public function getCurrentPage(): int { return $this->currentPage; } public function getPages(): int { return $this->pages; } public function getPageSize(): int { return $this->pageSize; } }