Sha256: 79f0eb9e238006715cecb7241002f0d4a549774002fc5e08d5be3b281c27d065
Contents?: true
Size: 636 Bytes
Versions: 7
Compression:
Stored size: 636 Bytes
Contents
<?php namespace Predis\Commands; class SetIntersectionStore extends Command { public function getId() { return 'SINTERSTORE'; } protected function filterArguments(Array $arguments) { if (count($arguments) === 2 && is_array($arguments[1])) { return array_merge(array($arguments[0]), $arguments[1]); } return $arguments; } protected function onPrefixKeys(Array $arguments, $prefix) { return PrefixHelpers::multipleKeys($arguments, $prefix); } protected function canBeHashed() { return $this->checkSameHashForKeys($this->getArguments()); } }
Version data entries
7 entries across 7 versions & 1 rubygems