LengthAwarePaginator.php
29 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\Pagination; |
| 4 | |
| 5 | /** @internal */ |
| 6 | interface LengthAwarePaginator extends Paginator |
| 7 | { |
| 8 | /** |
| 9 | * Create a range of pagination URLs. |
| 10 | * |
| 11 | * @param int $start |
| 12 | * @param int $end |
| 13 | * @return array |
| 14 | */ |
| 15 | public function getUrlRange($start, $end); |
| 16 | /** |
| 17 | * Determine the total number of items in the data store. |
| 18 | * |
| 19 | * @return int |
| 20 | */ |
| 21 | public function total(); |
| 22 | /** |
| 23 | * Get the page number of the last available page. |
| 24 | * |
| 25 | * @return int |
| 26 | */ |
| 27 | public function lastPage(); |
| 28 | } |
| 29 |