mirror of
https://github.com/predis/predis.git
synced 2026-08-24 16:29:27 +00:00
f19c6335d1
The new string format for INFO replies has been postponed to a future version of Redis, so we just moved the INFO class that handles them to the development server profile.
15 lines
496 B
PHP
15 lines
496 B
PHP
<?php
|
|
|
|
namespace Predis\Profiles;
|
|
|
|
class ServerVersionNext extends ServerVersion24 {
|
|
public function getVersion() { return '2.6'; }
|
|
public function getSupportedCommands() {
|
|
return array_merge(parent::getSupportedCommands(), array(
|
|
'info' => '\Predis\Commands\ServerInfoV26x',
|
|
'eval' => '\Predis\Commands\ServerEval',
|
|
'evalsha' => '\Predis\Commands\ServerEvalSHA',
|
|
));
|
|
}
|
|
}
|