Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
13 | class PaginationHelper |
||
14 | { |
||
15 | /** |
||
16 | * @var LengthAwarePaginator $paginator |
||
17 | */ |
||
18 | public $paginator; |
||
19 | |||
20 | /** |
||
21 | * PaginationHelper constructor. |
||
22 | * @param LengthAwarePaginator $paginator |
||
23 | */ |
||
24 | public function __construct(LengthAwarePaginator $paginator) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Build next page link with sort and filters. |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getNextUrl(): string |
||
40 |