소스 검색

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 13 년 전
부모
커밋
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();