Files
predis/lib/Predis/Profiles/ServerVersionNext.php
T
Daniele Alessandri f19c6335d1 Fix parsing of replies to INFO for Redis 2.4.
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.
2011-10-15 10:21:34 +02:00

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',
));
}
}