Browse Source

Make Predis\Command::serializeRequest() a protected method.

Daniele Alessandri 15 năm trước cách đây
mục cha
commit
6ea96e82f9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -433,7 +433,7 @@ abstract class Command {
 
     public abstract function getCommandId();
 
-    public function serializeRequest($command, $arguments) {
+    protected function serializeRequest($command, $arguments) {
         $newline = Protocol::NEWLINE;
         $cmdlen  = strlen($command);
         $reqlen  = count($arguments) + 1;