New commands: PSETEX, PEXPIRE, PEXPIREAT, PTTL (Redis v2.6-dev).

This commit is contained in:
Daniele Alessandri
2011-11-18 15:58:36 +01:00
parent 4e0709ad3d
commit 51b998720e
6 changed files with 122 additions and 2 deletions
@@ -0,0 +1,27 @@
<?php
/*
* This file is part of the Predis package.
*
* (c) Daniele Alessandri <suppakilla@gmail.com>
*
* 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/psetex
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
class StringPreciseSetExpire extends StringSetExpire
{
/**
* {@inheritdoc}
*/
public function getId()
{
return 'PSETEX';
}
}