Quellcode durchsuchen

Add new Predis\Client::getOptions() method.

Daniele Alessandri vor 14 Jahren
Ursprung
Commit
bcfb568d1a
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      lib/Predis.php

+ 4 - 0
lib/Predis.php

@@ -111,6 +111,10 @@ class Client {
         return $this->_profile;
     }
 
+    public function getOptions() {
+        return $this->_options;
+    }
+
     public function getClientFor($connectionAlias) {
         if (!Utils::isCluster($this->_connection)) {
             throw new ClientException(