You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
thrownewInvalidArgumentException(sprintf('%s() expects parameter 1 to be Redis, RedisArray, RedisCluster or Predis\Client, %s given',__METHOD__,is_object($redisClient) ?get_class($redisClient) :gettype($redisClient)));
51
53
}
52
54
$this->redis =$redisClient;
@@ -171,8 +173,8 @@ protected function doHave($id)
171
173
*/
172
174
protectedfunctiondoClear($namespace)
173
175
{
174
-
// When using a native Redis cluster, clearing the cachecannot work and always returns false.
175
-
//Clearing the cache should then be done by any other means (e.g. by restarting the cluster).
176
+
// When using a native Redis cluster, clearing the cacheis done by versioning in AbstractTrait::clear().
177
+
//This means old keys are not really removed until they expire and may need gargage collection.