mirror of
https://github.com/predis/predis.git
synced 2026-09-12 03:17:22 +00:00
New command: EVAL (Redis v2.4-dev).
This commit is contained in:
@@ -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',
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user