Minor code rearrangements.

This commit is contained in:
Daniele Alessandri
2010-03-04 11:58:19 +01:00
parent 138a171f6c
commit 460dfce7f6
+6 -4
View File
@@ -1091,6 +1091,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
'multi' => '\Predis\Commands\Multi',
'exec' => '\Predis\Commands\Exec',
'discard' => '\Predis\Commands\Discard',
/* commands operating on string values */
'append' => '\Predis\Commands\Append',
/* commands operating on lists */
@@ -1265,6 +1267,10 @@ class Type extends \Predis\InlineCommand {
public function getCommandId() { return 'TYPE'; }
}
class Append extends \Predis\BulkCommand {
public function getCommandId() { return 'APPEND'; }
}
/* commands operating on the key space */
class Keys extends \Predis\InlineCommand {
public function canBeHashed() { return false; }
@@ -1637,8 +1643,4 @@ class Discard extends \Predis\InlineCommand {
public function canBeHashed() { return false; }
public function getCommandId() { return 'DISCARD'; }
}
class Append extends \Predis\BulkCommand {
public function getCommandId() { return 'APPEND'; }
}
?>