Pārlūkot izejas kodu

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

Daniele Alessandri 14 gadi atpakaļ
vecāks
revīzija
bcfb568d1a
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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(