Spatie\PaginateRoute\PaginateRoute::previousPageUrl PHP Метод

previousPageUrl() публичный Метод

Get the previous page URL.
public previousPageUrl ( boolean $full = false ) : string | null
$full boolean Return the full version of the URL in for the first page Ex. /users/page/1 instead of /users
Результат string | null
    public function previousPageUrl($full = false)
    {
        $previousPage = $this->previousPage();
        if ($previousPage === null) {
            return;
        }
        return $this->pageUrl($previousPage, $full);
    }