src/Common/CursorBasedPagination.php
/**
     * Get the next page of data.
     *
     * @return ModelInterface[]
     */
Get the next page of data.
Get the next page of data .
public function next()
    {
        if (!$this->hasNext()) {
            throw new RuntimeException("There's no next page");
        }
        return $this->current($this->links['next']);
    }
public function next ( ) { if ( ! $ this -> hasNext ( ) ) { throw new RuntimeException ( " There's no next page " ) ; } return $ this -> current ( $ this -> links [ 'next' ] ) ; }
Get the next page of data.
Get the next page of data .