File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -2445,6 +2445,22 @@ public function hMset( $key, $hashKeys ) {}
2445
2445
*/
2446
2446
public function hMGet ( $ key , $ hashKeys ) {}
2447
2447
2448
+ /**
2449
+ * Get or Set the redis config keys.
2450
+ *
2451
+ * @param string $operation either `GET` or `SET`
2452
+ * @param string $key for `SET`, glob-pattern for `GET`. See http://redis.io/commands/config-get for examples.
2453
+ * @param string $value optional string (only for `SET`)
2454
+ * @return array Associative array for `GET`, key -> value
2455
+ * @link http://redis.io/commands/config-get
2456
+ * @link http://redis.io/commands/config-set
2457
+ * @example
2458
+ * <pre>
2459
+ * $redis->config("GET", "*max-*-entries*");
2460
+ * $redis->config("SET", "dir", "/var/run/redis/dumps/");
2461
+ * </pre>
2462
+ */
2463
+ public function config ( $ operation , $ key , $ value ) {}
2448
2464
}
2449
2465
2450
2466
class RedisException extends Exception {}
You can’t perform that action at this time.
0 commit comments