Selaa lähdekoodia

Added the new public method Client::setServerProfile.

Daniele Alessandri 15 vuotta sitten
vanhempi
commit
88cda9e52c
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      lib/Predis.php

+ 4 - 0
lib/Predis.php

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