lib/Braintree/PaginatedCollection.php
public function rewind()
    {
        $this->_index = 0;
        $this->_currentPage = 0;
        $this->_pageSize = 0;
        $this->_totalItems = 0;
        $this->_items = [];
    }
public function rewind()
    {
        $this->_index = 0;
        $this->_currentPage = 0;
        $this->_pageSize = 0;
        $this->_totalItems = 0;
        $this->_items = [];
    }
public function rewind ( ) { $ this -> _index = 0 ; $ this -> _currentPage = 0 ; $ this -> _pageSize = 0 ; $ this -> _totalItems = 0 ; $ this -> _items = [ ] ; }
rewinds the collection to the first item when iterating with foreach
rewinds the collection to the first item when iterating with foreach