* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Predis\Commands; /** * @link http://redis.io/commands/hsetnx * @author Daniele Alessandri */ class HashSetPreserve extends PrefixableCommand { /** * {@inheritdoc} */ public function getId() { return 'HSETNX'; } /** * {@inheritdoc} */ public function parseResponse($data) { return (bool) $data; } }