@@ -10,4 +10,4 @@
as it does not cover all of its features.
* Missing tests for commands:
- PUBLISH, SUBSCRIBE, UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE
+ PUBLISH, SUBSCRIBE, UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE, DEBUG, OBJECT
@@ -0,0 +1,15 @@
+<?php
+
+namespace Predis\Commands;
+use Predis\Helpers;
+class DebugObject extends Command {
+ public function getId() {
+ return 'OBJECT';
+ }
+ protected function canBeHashed() {
+ return false;
+}
@@ -8,6 +8,7 @@ class ServerVersionNext extends ServerVersion22 {
return array_merge(parent::getSupportedCommands(), array(
/* remote server control commands */
'info' => '\Predis\Commands\InfoV24x',
+ 'object' => '\Predis\Commands\DebugObject',
));
}