|
@@ -219,6 +219,8 @@ 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',
|
|
@@ -900,6 +902,10 @@ class ListRemove extends \Predis\BulkCommand {
|
|
|
public function getCommandId() { return 'LREM'; }
|
|
|
}
|
|
|
|
|
|
+class ListPopPush extends \Predis\BulkCommand {
|
|
|
+ public function getCommandId() { return 'LPOPPUSH'; }
|
|
|
+}
|
|
|
+
|
|
|
class ListPopFirst extends \Predis\InlineCommand {
|
|
|
public function getCommandId() { return 'LPOP'; }
|
|
|
}
|