src/Url.php
/**
     * Return whether an url has expired.
     *
     * @return bool
     */
Return whether an url has expired.
@return bool
Return whether an url has expired . @return bool
public function hasExpired(): bool
    {
        if (! $this->couldExpire()) {
            return false;
        }
        $expiresAt = new Carbon($this->expires_at);
        return ! $expiresAt->isFuture();
    }
public function hasExpired ( ) : bool { if ( ! $ this -> couldExpire ( ) ) { return false ; } $ expiresAt = new Carbon ( $ this -> expires_at ) ; return ! $ expiresAt -> isFuture ( ) ; }
Return whether an url has expired.
Return whether an url has expired .