Methods |
public
|
__construct(Client $client, array $search_params)
Constructor
Parameters
$search_params |
Associative array of parameters
|
|
#
|
public
|
__destruct()
Destructor
|
#
|
public
|
setScrollTimeout(string $time_to_live): $this
Sets the time to live duration of a scroll window
Sets the time to live duration of a scroll window
|
#
|
public
|
rewind(): void
Rewinds the iterator by performing the initial search.
Rewinds the iterator by performing the initial search.
Implements
|
#
|
public
|
next(): void
Fetches every "page" after the first one using the lastest "scroll_id"
Fetches every "page" after the first one using the lastest "scroll_id"
Implements
|
#
|
public
|
valid(): bool
Returns a boolean value indicating if the current page is valid or not
Returns a boolean value indicating if the current page is valid or not
Implements
|
#
|
public
|
current(): array
Returns the current "page"
Returns the current "page"
Implements
|
#
|
public
|
key(): int
Returns the current "page number" of the current "page"
Returns the current "page number" of the current "page"
Implements
|
#
|