mirror of
https://github.com/predis/predis.git
synced 2026-08-23 21:59:33 +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.
16 lines
375 B
PHP
16 lines
375 B
PHP
<?php
|
|
|
|
namespace Predis\Commands;
|
|
|
|
use Predis\Utils;
|
|
|
|
class SetIntersection extends Command {
|
|
protected function canBeHashed() {
|
|
return $this->checkSameHashForKeys($this->getArguments());
|
|
}
|
|
public function getId() { return 'SINTER'; }
|
|
public function filterArguments(Array $arguments) {
|
|
return Utils::filterArrayArguments($arguments);
|
|
}
|
|
}
|