Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29 lines (25 sloc)
553 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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(); | |
} |