mirror of
https://github.com/predis/predis.git
synced 2026-09-10 18:37:34 +00:00
New command: CONFIG (Redis v2.0-dev).
This commit is contained in:
@@ -1242,6 +1242,10 @@ class RedisServer_vNext extends RedisServer_v1_2 {
|
||||
'hashValues' => '\Predis\Commands\HashValues',
|
||||
'hgetall' => '\Predis\Commands\HashGetAll',
|
||||
'hashKeysValues' => '\Predis\Commands\HashGetAll',
|
||||
|
||||
/* remote server control commands */
|
||||
'config' => '\Predis\Commands\Config',
|
||||
'configuration' => '\Predis\Commands\Config',
|
||||
));
|
||||
}
|
||||
}
|
||||
@@ -1914,6 +1918,11 @@ class SlaveOf extends \Predis\InlineCommand {
|
||||
}
|
||||
}
|
||||
|
||||
class Config extends \Predis\BulkCommand {
|
||||
public function canBeHashed() { return false; }
|
||||
public function getCommandId() { return 'CONFIG'; }
|
||||
}
|
||||
|
||||
class Multi extends \Predis\InlineCommand {
|
||||
public function canBeHashed() { return false; }
|
||||
public function getCommandId() { return 'MULTI'; }
|
||||
|
||||
Reference in New Issue
Block a user