public function Braintree_ResourceCollection::rewind in Commerce Braintree 7
rewinds thtestIterateOverResultse collection to the first item when iterating with foreach
File
- braintree_php/
lib/ Braintree/ ResourceCollection.php, line 87
Class
- Braintree_ResourceCollection
- ResourceCollection is a container object for result data
Code
public function rewind() {
$this->_batchIndex = 0;
$this
->_getNextPage();
}