Blame view

public/vendor/illuminate/contracts/Pagination/LengthAwarePaginator.php 553 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  <?php
  
  namespace Illuminate\Contracts\Pagination;
  
  interface LengthAwarePaginator extends Paginator
  {
      /**
       * Create a range of pagination URLs.
       *
       * @param  int  $start
       * @param  int  $end
       * @return array
       */
      public function getUrlRange($start, $end);
  
      /**
       * Determine the total number of items in the data store.
       *
       * @return int
       */
      public function total();
  
      /**
       * Get the page number of the last available page.
       *
       * @return int
       */
      public function lastPage();
  }