PageIterator implements Iterator
Iterating over pages in the paginated response
This iterator will automatically calling the API and fetching data items in each iteration.
This iterator will returning an array of items as the value and zero indexed key of the item as the key
Tags
Interfaces, Classes and Traits
- Iterator
Table of Contents
Methods
current()
public
current() : array<string|int, T>
Tags
Return values
array<string|int, T> —key()
public
key() : int