Parcourir la source

added getAdapter method resolving issue ZF-8027

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18637 44c647ce-9c0f-0410-b52a-842ac1e357ba
klassicd il y a 16 ans
Parent
commit
e68bcb13f1
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. 10 0
      library/Zend/Http/Client.php

+ 10 - 0
library/Zend/Http/Client.php

@@ -834,6 +834,16 @@ class Zend_Http_Client
         unset($config['adapter']);
         $this->adapter->setConfig($config);
     }
+    
+    /**
+     * Load the connection adapter
+     *
+     * @return Zend_Http_Client_Adapter_Interface $adapter
+     */
+    public function getAdapter()
+    {
+    	return $this->adapter;
+    }
 
     /**
      * Send the HTTP request and return an HTTP response object