mirror of
https://github.com/predis/predis.git
synced 2026-08-31 12:43:31 +00:00
Minor code rearrangements.
This commit is contained in:
+6
-4
@@ -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'; }
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user