|
@@ -32,10 +32,21 @@ class ServerVersionNext extends ServerVersion24
|
|
|
public function getSupportedCommands()
|
|
|
{
|
|
|
return array_merge(parent::getSupportedCommands(), array(
|
|
|
- 'info' => '\Predis\Commands\ServerInfoV26x',
|
|
|
+ /* commands operating on the key space */
|
|
|
+ 'pttl' => '\Predis\Commands\KeyPreciseTimeToLive',
|
|
|
+ 'pexpire' => '\Predis\Commands\KeyPreciseExpire',
|
|
|
+ 'pexpireat' => '\Predis\Commands\KeyPreciseExpireAt',
|
|
|
+
|
|
|
+ /* commands operating on string values */
|
|
|
+ 'psetex' => '\Predis\Commands\StringPreciseSetExpire',
|
|
|
+
|
|
|
+ /* scripting */
|
|
|
'eval' => '\Predis\Commands\ServerEval',
|
|
|
'evalsha' => '\Predis\Commands\ServerEvalSHA',
|
|
|
'script' => '\Predis\Commands\ServerScript',
|
|
|
+
|
|
|
+ /* remote server control commands */
|
|
|
+ 'info' => '\Predis\Commands\ServerInfoV26x',
|
|
|
));
|
|
|
}
|
|
|
}
|