New command: EVAL (Redis v2.4-dev).

This commit is contained in:
Daniele Alessandri
2011-05-03 15:07:56 +02:00
parent 4fc87fa161
commit bd027341be
2 changed files with 14 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
namespace Predis\Commands;
class ServerEval extends Command {
public function getId() {
return 'EVAL';
}
protected function canBeHashed() {
return false;
}
}
@@ -20,6 +20,7 @@ class ServerVersionNext extends ServerVersion22 {
/* remote server control commands */
'info' => '\Predis\Commands\ServerInfoV24x',
'client' => '\Predis\Commands\ServerClient',
'eval' => '\Predis\Commands\ServerEval',
));
}
}