New command: CONFIG (Redis v2.0-dev).

This commit is contained in:
Daniele Alessandri
2010-03-29 12:23:52 +02:00
parent de1b8f45bc
commit 2d8007448f
+9
View File
@@ -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'; }