Open Journal Systems
3.3.0
|
Public Member Functions | |
get ($key) | |
getNextToken () | |
set ($key, $value) | |
setLimit ($limit) | |
setPageSize ($pageSize) | |
![]() | |
toArray () | |
![]() | |
addSubscriber (EventSubscriberInterface $subscriber) | |
dispatch ($eventName, array $context=array()) | |
getEventDispatcher () | |
setEventDispatcher (EventDispatcherInterface $eventDispatcher) | |
Additional Inherited Members | |
![]() | |
static | getAllEvents () |
Iterates over a paginated resource using subsequent requests in order to retrieve the entire matching result set
Definition at line 11 of file ResourceIteratorInterface.php.
Guzzle\Service\Resource\ResourceIteratorInterface::get | ( | $key | ) |
Get a data option from the iterator
string | $key | Key of the option to retrieve |
Implemented in Guzzle\Service\Resource\ResourceIterator.
Guzzle\Service\Resource\ResourceIteratorInterface::getNextToken | ( | ) |
Retrieve the NextToken that can be used in other iterators.
Implemented in Guzzle\Service\Resource\ResourceIterator.
Guzzle\Service\Resource\ResourceIteratorInterface::set | ( | $key, | |
$value | |||
) |
Set a data option on the iterator
string | $key | Key of the option to set |
mixed | $value | Value to set for the option |
Implemented in Guzzle\Service\Resource\ResourceIterator.
Guzzle\Service\Resource\ResourceIteratorInterface::setLimit | ( | $limit | ) |
Attempt to limit the total number of resources returned by the iterator.
You may still receive more items than you specify. Set to 0 to specify no limit.
int | $limit | Limit amount |
Implemented in Guzzle\Service\Resource\ResourceIterator.
Guzzle\Service\Resource\ResourceIteratorInterface::setPageSize | ( | $pageSize | ) |
Attempt to limit the total number of resources retrieved per request by the iterator.
The iterator may return more than you specify in the page size argument depending on the service and underlying command implementation. Set to 0 to specify no page size limitation.
int | $pageSize | Limit amount |
Implemented in Guzzle\Service\Resource\ResourceIterator.