implements |
CurlerPageInterface |
---|
A page of data returned by an HTTP endpoint
Methods | ||
---|---|---|
public
|
__construct(
list<mixed> $entities,
?RequestInterface $nextRequest = null,
mixed[]|null $nextQuery = null,
?int $current = null,
?int $total = null,
)
|
# |
public
|
getEntities(): array
|
# |
public
|
hasNextRequest(): bool
|
# |
public
|
getNextRequest()
|
# |
public
|
getCurrent(): ?int
|
# |
public
|
getTotal(): ?int
|
# |
Properties | |||
---|---|---|---|
protected
|
list<mixed>
|
$Entities
|
# |
protected
|
?int
|
$Current
|
# |
protected
|
?int
|
$Total
|
# |
protected
|
?CurlerPageRequest
|
$NextRequest
|
# |