Flow PHP

PageNumber implements PaginationStrategy, ResultCounter

FinalYes

Interfaces

PaginationStrategy
ResultCounter

Methods

__construct()  : mixed
countResults()  : int
initialRequest()  : RequestInterface
nextRequest()  : RequestInterface|null

Methods

__construct()

public __construct(RequestOption $inject[, int $startPage = 1 ][, int|null $pageSize = null ][, RequestOption|null $sizeOption = null ][, bool $injectOnFirstRequest = true ][, string|null $recordsPath = null ]) : mixed
Parameters
$inject : RequestOption
$startPage : int = 1
$pageSize : int|null = null
$sizeOption : RequestOption|null = null
$injectOnFirstRequest : bool = true
$recordsPath : string|null = null

initialRequest()

public initialRequest(RequestInterface $base) : RequestInterface
Parameters
$base : RequestInterface
Return values
RequestInterface
On this page

Search results