Renamed LPOPPUSH to RPOPLPUSH

This commit is contained in:
Daniele Alessandri
2009-11-12 14:07:25 +01:00
parent 28e3926385
commit 59fafbb68b
+4 -4
View File
@@ -219,12 +219,12 @@ class Client {
'listSet' => '\Predis\Commands\ListSet',
'lrem' => '\Predis\Commands\ListRemove',
'listRemove' => '\Predis\Commands\ListRemove',
'lpoppush' => '\Predis\Commands\ListPopPush',
'listPopPush' => '\Predis\Commands\ListPopPush',
'lpop' => '\Predis\Commands\ListPopFirst',
'popFirst' => '\Predis\Commands\ListPopFirst',
'rpop' => '\Predis\Commands\ListPopLast',
'popLast' => '\Predis\Commands\ListPopLast',
'rpoplpush' => '\Predis\Commands\ListPushTailPopFirst',
'listPushTailPopFist' => '\Predis\Commands\ListPushTailPopFirst',
/* commands operating on sets */
'sadd' => '\Predis\Commands\SetAdd',
@@ -902,8 +902,8 @@ class ListRemove extends \Predis\BulkCommand {
public function getCommandId() { return 'LREM'; }
}
class ListPopPush extends \Predis\BulkCommand {
public function getCommandId() { return 'LPOPPUSH'; }
class ListPushTailPopFirst extends \Predis\BulkCommand {
public function getCommandId() { return 'RPOPLPUSH'; }
}
class ListPopFirst extends \Predis\InlineCommand {