SetPreserve.php 215 B

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