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 @@ -2503,6 +2503,22 @@ public function hMset( $key, $hashKeys ) {}
2503
2503
*/
2504
2504
public function hMGet ( $ key , $ hashKeys ) {}
2505
2505
2506
+ /**
2507
+ * Get or Set the redis config keys.
2508
+ *
2509
+ * @param string $operation either `GET` or `SET`
2510
+ * @param string $key for `SET`, glob-pattern for `GET`. See http://redis.io/commands/config-get for examples.
2511
+ * @param string $value optional string (only for `SET`)
2512
+ * @return array Associative array for `GET`, key -> value
2513
+ * @link http://redis.io/commands/config-get
2514
+ * @link http://redis.io/commands/config-set
2515
+ * @example
2516
+ * <pre>
2517
+ * $redis->config("GET", "*max-*-entries*");
2518
+ * $redis->config("SET", "dir", "/var/run/redis/dumps/");
2519
+ * </pre>
2520
+ */
2521
+ public function config ( $ operation , $ key , $ value ) {}
2506
2522
}
2507
2523
2508
2524
class RedisException extends Exception {}
You can’t perform that action at this time.
0 commit comments