1 | <?php |
||
10 | final class KvkPaginator implements KvkPaginatorInterface |
||
11 | { |
||
12 | private $itemsPerPage; |
||
13 | |||
14 | private $startPage; |
||
15 | |||
16 | private $totalItems; |
||
17 | |||
18 | private $items; |
||
19 | |||
20 | private $nextUrl; |
||
21 | |||
22 | private $previousUrl; |
||
23 | |||
24 | 4 | public function __construct( |
|
39 | |||
40 | 1 | public function getItemsPerPage(): int |
|
44 | |||
45 | 1 | public function getStartPage(): int |
|
49 | |||
50 | 1 | public function getTotalItems(): int |
|
54 | |||
55 | /** |
||
56 | * @return ProfileCompany[] |
||
57 | */ |
||
58 | public function getItems(): array |
||
59 | { |
||
60 | return $this->items; |
||
61 | } |
||
62 | |||
63 | 2 | public function getNextUrl(): string |
|
71 | |||
72 | 2 | public function getPreviousUrl(): string |
|
80 | } |
||
81 |