浏览代码

Implemented Predis\Client::getProfile.

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

+ 4 - 0
lib/Predis.php

@@ -88,6 +88,10 @@ class Client {
         $this->_serverProfile = $serverProfile;
     }
 
+    public function getProfile() {
+        return $this->_serverProfile;
+    }
+
     public function connect() {
         $this->_connection->connect();
     }