1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace Predis\Command;
- class SetIntersectionStore extends AbstractCommand implements PrefixableCommandInterface
- {
-
- 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;
- }
-
- public function prefixKeys($prefix)
- {
- PrefixHelpers::all($this, $prefix);
- }
- }
|