浏览代码

Get the current ResponseReader associated to a Connection instance.

Daniele Alessandri 15 年之前
父节点
当前提交
51c7ef4566
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      lib/Predis.php

+ 4 - 0
lib/Predis.php

@@ -751,6 +751,10 @@ class Connection implements IConnection {
         return $this->_socket;
     }
 
+    public function getResponseReader() {
+        return $this->_reader;
+    }
+
     public function getAlias() {
         return $this->_params->alias;
     }