Browse Source

Added the new public method Client::setServerProfile.

Daniele Alessandri 15 years ago
parent
commit
88cda9e52c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      lib/Predis.php

+ 4 - 0
lib/Predis.php

@@ -72,6 +72,10 @@ class Client {
         $this->_connection = $connection;
     }
 
+    public function setServerProfile(RedisServerProfile $serverProfile) {
+        $this->_serverProfile = $serverProfile;
+    }
+
     public function connect() {
         $this->_connection->connect();
     }