ソースを参照

Minor reorganization, nothing worth mentioning.

Daniele Alessandri 13 年 前
コミット
86256f2819
1 ファイル変更8 行追加8 行削除
  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);