Explorar el Código

Minor reorganization, nothing worth mentioning.

Daniele Alessandri hace 13 años
padre
commit
86256f2819
Se han modificado 1 ficheros con 8 adiciones y 8 borrados
  1. 8 8
      lib/Predis/Network/WebdisConnection.php

+ 8 - 8
lib/Predis/Network/WebdisConnection.php

@@ -118,14 +118,6 @@ class WebdisConnection implements IConnectionSingle {
         return true;
     }
 
-    public function writeCommand(ICommand $command) {
-        $this->throwNotSupportedException(__FUNCTION__);
-    }
-
-    public function readResponse(ICommand $command) {
-        $this->throwNotSupportedException(__FUNCTION__);
-    }
-
     protected function getCommandId(ICommand $command) {
         switch (($commandId = $command->getId())) {
             case 'AUTH':
@@ -141,6 +133,14 @@ class WebdisConnection implements IConnectionSingle {
         }
     }
 
+    public function writeCommand(ICommand $command) {
+        $this->throwNotSupportedException(__FUNCTION__);
+    }
+
+    public function readResponse(ICommand $command) {
+        $this->throwNotSupportedException(__FUNCTION__);
+    }
+
     public function executeCommand(ICommand $command) {
         $resource = $this->_resource;
         $commandId = $this->getCommandId($command);