src/CachedClipboard.php
public function setCache(Store $cache)
    {
        if (method_exists($cache, 'tags')) {
            $cache = $cache->tags($this->tag());
        }

        $this->cache = $cache;

        return $this;
    }
public function setCache(Store $cache)
    {
        if (method_exists($cache, 'tags')) {
            $cache = $cache->tags($this->tag());
        }

        $this->cache = $cache;

        return $this;
    }
public function setCache ( Store $ cache ) { if ( method_exists ( $ cache , 'tags' ) ) { $ cache = $ cache -> tags ( $ this -> tag ( ) ) ; } $ this -> cache = $ cache ; return $ this ; }
Set the cache instance.

@param  \Illuminate\Contracts\Cache\Store  $cache
@return $this
Set the cache instance .