Braintree\ResourceCollection::_getNextPage PHP Method

_getNextPage() private method

private _getNextPage ( )
    private function _getNextPage()
    {
        if (empty($this->_ids)) {
            $this->_items = [];
        } else {
            $this->_items = $this->_getPage(array_slice($this->_ids, $this->_batchIndex, $this->_pageSize));
            $this->_batchIndex += $this->_pageSize;
            $this->_index = 0;
        }
    }