SetAdd.php 209 B

12345678910
  1. <?php
  2. namespace Predis\Commands;
  3. use Predis\Command;
  4. class SetAdd extends Command {
  5. public function getCommandId() { return 'SADD'; }
  6. public function parseResponse($data) { return (bool) $data; }
  7. }