mirror of
https://github.com/predis/predis.git
synced 2026-08-24 02:39:36 +00:00
c4064e5801
List of the commands affected by this change (based on Redis 2.2):
MSET, MGET, DEL, BLPOP, BRPOP, RPOPLPUSH, BRPOPLPUSH, SINTER, SINTERSTORE,
SUNION, SUNIONSTORE, SDIFF, SDIFFSTORE, ZINTERSTORE, ZUNIONSTORE.
13 lines
308 B
PHP
13 lines
308 B
PHP
<?php
|
|
|
|
namespace Predis\Commands;
|
|
|
|
class ListPopFirstBlocking extends Command {
|
|
protected function canBeHashed() {
|
|
return $this->checkSameHashForKeys(
|
|
array_slice(($args = $this->getArguments()), 0, count($args) - 1)
|
|
);
|
|
}
|
|
public function getId() { return 'BLPOP'; }
|
|
}
|