ServerVersionNext.php 517 B

1234567891011121314151617181920
  1. <?php
  2. namespace Predis\Profiles;
  3. class ServerVersionNext extends ServerVersion24
  4. {
  5. public function getVersion()
  6. {
  7. return '2.6';
  8. }
  9. public function getSupportedCommands()
  10. {
  11. return array_merge(parent::getSupportedCommands(), array(
  12. 'info' => '\Predis\Commands\ServerInfoV26x',
  13. 'eval' => '\Predis\Commands\ServerEval',
  14. 'evalsha' => '\Predis\Commands\ServerEvalSHA',
  15. ));
  16. }
  17. }