PHP Class Unlu\Laravel\Api\Paginator

Inheritance: extends Illuminate\Pagination\LengthAwarePaginator
Show file Open project: selahattinunlu/laravel-api-query-builder

Protected Properties

Property Type Description
$queryUri

Public Methods

Method Description
__construct ( $items, $total, $perPage, $currentPage = null, array $options = [] )
nextPageUrl ( )
previousPageUrl ( )
setQueryUri ( $queryUri )

Private Methods

Method Description
appendQueryParametersToUrl ( $url = null )

Method Details

__construct() public method

public __construct ( $items, $total, $perPage, $currentPage = null, array $options = [] )
$options array

nextPageUrl() public method

public nextPageUrl ( )

previousPageUrl() public method

public previousPageUrl ( )

setQueryUri() public method

public setQueryUri ( $queryUri )

Property Details

$queryUri protected property

protected $queryUri