mirror of
https://github.com/predis/predis.git
synced 2026-09-15 04:47:01 +00:00
Implemented LPOPPUSH (Class: \Predis\Commands\ListPopPush)
This commit is contained in:
@@ -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'; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user