src/SecucardConnect/Client/MediaResourceTrait.php
public function clear()
    {
        if (empty($this->store)) {
            throw new ClientError('Missing store instance to use for this operation.');
        }

        if (!empty($this->url)) {
            $this->store->delete($this->getKey($this->url));
        }

        $this->cached = false;
    }
public function clear()
    {
        if (empty($this->store)) {
            throw new ClientError('Missing store instance to use for this operation.');
        }

        if (!empty($this->url)) {
            $this->store->delete($this->getKey($this->url));
        }

        $this->cached = false;
    }
public function clear ( ) { if ( empty ( $ this -> store ) ) { throw new ClientError ( 'Missing store instance to use for this operation.' ) ; } if ( ! empty ( $ this -> url ) ) { $ this -> store -> delete ( $ this -> getKey ( $ this -> url ) ) ; } $ this -> cached = false ; }
Removes this object from cache.
@throws ClientError
Removes this object from cache .