Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Pagination/LengthAwarePaginator.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Contracts\Pagination;
4
5 /**
6 * @template TKey of array-key
7 *
8 * @template-covariant TValue
9 *
10 * @extends Paginator<TKey, TValue>
11 */
12 interface LengthAwarePaginator extends Paginator
13 {
14 /**
15 * Create a range of pagination URLs.
16 *
17 * @param int $start
18 * @param int $end
19 * @return array
20 */
21 public function getUrlRange($start, $end);
22
23 /**
24 * Determine the total number of items in the data store.
25 *
26 * @return int
27 */
28 public function total();
29
30 /**
31 * Get the page number of the last available page.
32 *
33 * @return int
34 */
35 public function lastPage();
36 }