Jarves\Cache\Cacher::deleteDistributedCache PHP Method

deleteDistributedCache() public method

Deletes a distributed cache
public deleteDistributedCache ( string $key )
$key string
    public function deleteDistributedCache($key)
    {
        $this->fastCache->delete($key);
        //whe need to invalidate this cache, so other jarves servers refresh their cache
        $this->distributedCache->invalidate($key);
    }