12345678910111213141516171819 |
- <?php
- namespace Predis\Commands;
- use Predis\Helpers;
- class SetAdd extends Command {
- public function getId() {
- return 'SADD';
- }
- protected function filterArguments(Array $arguments) {
- return Helpers::filterVariadicValues($arguments);
- }
- public function parseResponse($data) {
- return (bool) $data;
- }
- }
|