You are here

public function Braintree_ResourceCollection::current in Commerce Braintree 7

returns the current item when iterating with foreach

File

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

Class

Braintree_ResourceCollection
ResourceCollection is a container object for result data

Code

public function current() {
  return $this->_items[$this->_index];
}