|
@@ -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 {
|