v.0.1
This commit is contained in:
29
vendor/illuminate/contracts/Pagination/LengthAwarePaginator.php
vendored
Normal file
29
vendor/illuminate/contracts/Pagination/LengthAwarePaginator.php
vendored
Normal file
@ -0,0 +1,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();
|
||||
}
|
Reference in New Issue
Block a user