Server IP : 172.67.158.161 / Your IP : 3.12.148.123 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/khowordpress.com/wp-content/plugins/duplicator-pro/aws/Guzzle/Service/Resource/ |
Upload File : |
<?php namespace DuplicatorPro\Guzzle\Service\Resource; defined("ABSPATH") or die(""); use DuplicatorPro\Guzzle\Common\HasDispatcherInterface; use DuplicatorPro\Guzzle\Common\ToArrayInterface; /** * Iterates over a paginated resource using subsequent requests in order to retrieve the entire matching result set */ interface ResourceIteratorInterface extends ToArrayInterface, HasDispatcherInterface, \Iterator, \Countable { /** * Retrieve the NextToken that can be used in other iterators. * * @return string Returns a NextToken */ public function getNextToken(); /** * 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. * * @param int $limit Limit amount * * @return ResourceIteratorInterface */ public function setLimit($limit); /** * 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. * * @param int $pageSize Limit amount * * @return ResourceIteratorInterface */ public function setPageSize($pageSize); /** * Get a data option from the iterator * * @param string $key Key of the option to retrieve * * @return mixed|null Returns NULL if not set or the value if set */ public function get($key); /** * Set a data option on the iterator * * @param string $key Key of the option to set * @param mixed $value Value to set for the option * * @return ResourceIteratorInterface */ public function set($key, $value); }