I am using predis library to cache the data. I am able to delete the cache individually using
$redis->cache->hdel(self::$cacheNamespace, $key);
But i need to delete all the cache without providing any keys, Is there a way to achieve that in predis.