SetAdd.php 206 B

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