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