src/Pagination/Pagination.php
protected function getNextButton()
    {
        if ( ! $this->paginator->hasMorePages()) {
            return $this->getDisabledLink($this->nextButtonText);
        }

        $url = $this->paginator->url($this->paginator->currentPage() + 1);

        return $this->getPrevNextPageLinkWrapper($url, $this->nextButtonText, 'next');
    }
protected function getNextButton()
    {
        if ( ! $this->paginator->hasMorePages()) {
            return $this->getDisabledLink($this->nextButtonText);
        }

        $url = $this->paginator->url($this->paginator->currentPage() + 1);

        return $this->getPrevNextPageLinkWrapper($url, $this->nextButtonText, 'next');
    }
protected function getNextButton ( ) { if ( ! $ this -> paginator -> hasMorePages ( ) ) { return $ this -> getDisabledLink ( $ this -> nextButtonText ) ; } $ url = $ this -> paginator -> url ( $ this -> paginator -> currentPage ( ) + 1 ) ; return $ this -> getPrevNextPageLinkWrapper ( $ url , $ this -> nextButtonText , 'next' ) ; }
Get html tag for the next page link.

@return string
Get html tag for the next page link .