You are here

public function Braintree_ResourceCollection::next in Commerce Braintree 7

advances to the next item in the collection when iterating with foreach

File

braintree_php/lib/Braintree/ResourceCollection.php, line 79

Class

Braintree_ResourceCollection
ResourceCollection is a container object for result data

Code

public function next() {
  ++$this->_index;
}