Merge branch 'command_hashing'

This commit is contained in:
Daniele Alessandri
2011-03-27 18:50:55 +02:00
47 changed files with 111 additions and 57 deletions
@@ -5,6 +5,9 @@ namespace Predis\Commands;
use Predis\Utils;
class SetIntersectionStore extends Command {
protected function canBeHashed() {
return $this->checkSameHashForKeys($this->getArguments());
}
public function getId() { return 'SINTERSTORE'; }
public function filterArguments(Array $arguments) {
if (count($arguments) === 2 && is_array($arguments[1])) {