src/Tus/Client.php
public function isExpired() : bool
    {
        $expiresAt = $this->getCache()->get($this->getKey())['expires_at'] ?? null;

        return empty($expiresAt) || Carbon::parse($expiresAt)->lt(Carbon::now());
    }
public function isExpired() : bool
    {
        $expiresAt = $this->getCache()->get($this->getKey())['expires_at'] ?? null;

        return empty($expiresAt) || Carbon::parse($expiresAt)->lt(Carbon::now());
    }
public function isExpired ( ) : bool { $ expiresAt = $ this -> getCache ( ) -> get ( $ this -> getKey ( ) ) [ 'expires_at' ] ?? null ; return empty ( $ expiresAt ) || Carbon :: parse ( $ expiresAt ) -> lt ( Carbon :: now ( ) ) ; }
Check if current upload is expired.

@return bool
Check if current upload is expired .