src/Clients/GuzzleClient.php
private function _setLinks()
    {
        $links = Psr7\parse_header($this->guzzleResponse->getHeader('Link'));
        foreach ($links as $link) {
            if ($link['rel'] == 'last') {
                $this->_lastLink = str_replace(['<', '>'], '', $link[0]);
            } elseif ($link['rel'] == 'next') {
                $this->_nextLink = str_replace(['<', '>'], '', $link[0]);
            } elseif ($link['rel'] == 'prev') {
                $this->_prevLink = str_replace(['<', '>'], '', $link[0]);
            }
        }
    }
private function _setLinks()
    {
        $links = Psr7\parse_header($this->guzzleResponse->getHeader('Link'));
        foreach ($links as $link) {
            if ($link['rel'] == 'last') {
                $this->_lastLink = str_replace(['<', '>'], '', $link[0]);
            } elseif ($link['rel'] == 'next') {
                $this->_nextLink = str_replace(['<', '>'], '', $link[0]);
            } elseif ($link['rel'] == 'prev') {
                $this->_prevLink = str_replace(['<', '>'], '', $link[0]);
            }
        }
    }
Set the next/prev/last links using the current response object.