You are here

public function Braintree_Collection::getIterator in Commerce Braintree 7

Return an iterator Implements IteratorAggregate

Return value

ArrayIterator

File

braintree_php/lib/Braintree/Collection.php, line 107

Class

Braintree_Collection
Generic Collection class

Code

public function getIterator() {
  return new ArrayIterator($this->_collection);
}