Sha256: adb06cad89c41dff4dc749fe3358fff03c8fd49ed1adfdb09b7cee2aa8fc403d

Contents?: true

Size: 351 Bytes

Versions: 7

Compression:

Stored size: 351 Bytes

Contents

<?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;
    }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
appstats-0.25.1 doc/benchmarks/Predis/Commands/SetAdd.php
appstats-0.25.0 doc/benchmarks/Predis/Commands/SetAdd.php
appstats-0.24.0 doc/benchmarks/Predis/Commands/SetAdd.php
appstats-0.23.5 doc/benchmarks/Predis/Commands/SetAdd.php
appstats-0.23.4 doc/benchmarks/Predis/Commands/SetAdd.php
appstats-0.23.3 doc/benchmarks/Predis/Commands/SetAdd.php
appstats-0.23.2 doc/benchmarks/Predis/Commands/SetAdd.php