PHP Class WoohooLabs\Yin\JsonApi\Request\Pagination\CursorBasedPagination

Exibir arquivo Open project: woohoolabs/yin Class Usage Examples

Protected Properties

Property Type Description
$cursor mixed | null

Public Methods

Method Description
__construct ( mixed | null $cursor )
fromPaginationQueryParams ( array $paginationQueryParams, mixed $defaultCursor = null )
getCursor ( ) : mixed | null
getPaginationQueryString ( mixed $cursor ) : string

Method Details

__construct() public method

public __construct ( mixed | null $cursor )
$cursor mixed | null

fromPaginationQueryParams() public static method

public static fromPaginationQueryParams ( array $paginationQueryParams, mixed $defaultCursor = null )
$paginationQueryParams array
$defaultCursor mixed

getCursor() public method

public getCursor ( ) : mixed | null
return mixed | null

getPaginationQueryString() public static method

public static getPaginationQueryString ( mixed $cursor ) : string
$cursor mixed
return string

Property Details

$cursor protected_oe property

protected mixed|null $cursor
return mixed | null