final | |
---|---|
implements |
CurlerPagerInterface |
uses |
HasEntitySelector |
Follows "Link" headers with rel="next" in responses from the endpoint
Methods | ||
---|---|---|
public
|
__construct(
?int $pageSize = null,
(Closure(mixed): list<mixed>)|array-key|null $entitySelector = null,
string $pageSizeKey = 'per_page',
)
|
# |
public
|
getFirstRequest(RequestInterface $request, CurlerInterface $curler, ?array $query = null)
|
# |
public
|
getPage(
$data,
RequestInterface $request,
HttpResponseInterface $response,
CurlerInterface $curler,
?CurlerPageInterface $previousPage = null,
?array $query = null,
): CurlerPageInterface
|
# |