src/Pagination/Pagination.php
protected function getPreviousButton()
    {
        if ($this->paginator->currentPage() <= 1) {
            return $this->getDisabledLink($this->previousButtonText);
        }

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

        return $this->getPrevNextPageLinkWrapper($url, $this->previousButtonText, 'prev');
    }
protected function getPreviousButton()
    {
        if ($this->paginator->currentPage() <= 1) {
            return $this->getDisabledLink($this->previousButtonText);
        }

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

        return $this->getPrevNextPageLinkWrapper($url, $this->previousButtonText, 'prev');
    }
protected function getPreviousButton ( ) { if ( $ this -> paginator -> currentPage ( ) <= 1 ) { return $ this -> getDisabledLink ( $ this -> previousButtonText ) ; } $ url = $ this -> paginator -> url ( $ this -> paginator -> currentPage ( ) - 1 ) ; return $ this -> getPrevNextPageLinkWrapper ( $ url , $ this -> previousButtonText , 'prev' ) ; }
Get html tag the previous page link.

@return string
Get html tag the previous page link .