瀏覽代碼

Make Predis\Connection\PhpiredisConnection::write() protected.

We should actually make use of more protected methods in this
class instead of the private ones, this is most likely going
to be addressed in future commits.

See also issue #86 on GitHub for the reason behind this change.
Daniele Alessandri 12 年之前
父節點
當前提交
daa36a980d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Predis/Connection/PhpiredisConnection.php

+ 1 - 1
lib/Predis/Connection/PhpiredisConnection.php

@@ -328,7 +328,7 @@ class PhpiredisConnection extends AbstractConnection
     /**
      * {@inheritdoc}
      */
-    private function write($buffer)
+    protected function write($buffer)
     {
         $socket = $this->getResource();