ServerVersionNext.php 621 B

12345678910111213141516
  1. <?php
  2. namespace Predis\Profiles;
  3. class ServerVersionNext extends ServerVersion22 {
  4. public function getVersion() { return '2.4'; }
  5. public function getSupportedCommands() {
  6. return array_merge(parent::getSupportedCommands(), array(
  7. /* remote server control commands */
  8. 'info' => '\Predis\Commands\ServerInfoV24x',
  9. 'client' => '\Predis\Commands\ServerClient',
  10. 'eval' => '\Predis\Commands\ServerEval',
  11. 'evalsha' => '\Predis\Commands\ServerEvalSHA',
  12. ));
  13. }
  14. }