blob: 4e6ef71978f5b824eee9901e1a0d7b72544bf5d5 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Pagination;
4
5interface 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}