|
@@ -106,4 +106,18 @@ class RedisService extends Redis implements CollectorInterface
|
|
|
print_r("SETEX key '{$key}': {$t} segundos" . PHP_EOL);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @param string|array $key
|
|
|
+ */
|
|
|
+ public function del($key)
|
|
|
+ {
|
|
|
+ if(is_array($key)) {
|
|
|
+ return parent::del($key);
|
|
|
+ } else {
|
|
|
+ return parent::del(array($key));
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|