web/lib/Zend/Http/Client/Adapter/Test.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
equal deleted inserted replaced
805:5e7a0fedabdf 807:877f952ae2bd
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Http
    16  * @package    Zend_Http
    17  * @subpackage Client_Adapter
    17  * @subpackage Client_Adapter
    18  * @version    $Id: Test.php 20096 2010-01-06 02:05:09Z bkarwin $
    18  * @version    $Id: Test.php 24593 2012-01-05 20:35:02Z matthew $
    19  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    20  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * @see Zend_Uri_Http
    24  * @see Zend_Uri_Http
    42  * set the expected response using the setResponse() method.
    42  * set the expected response using the setResponse() method.
    43  *
    43  *
    44  * @category   Zend
    44  * @category   Zend
    45  * @package    Zend_Http
    45  * @package    Zend_Http
    46  * @subpackage Client_Adapter
    46  * @subpackage Client_Adapter
    47  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    47  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    48  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    48  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    49  */
    49  */
    50 class Zend_Http_Client_Adapter_Test implements Zend_Http_Client_Adapter_Interface
    50 class Zend_Http_Client_Adapter_Test implements Zend_Http_Client_Adapter_Interface
    51 {
    51 {
    52     /**
    52     /**
   233             throw new Zend_Http_Client_Adapter_Exception(
   233             throw new Zend_Http_Client_Adapter_Exception(
   234                 'Index out of range of response buffer size');
   234                 'Index out of range of response buffer size');
   235         }
   235         }
   236         $this->responseIndex = $index;
   236         $this->responseIndex = $index;
   237     }
   237     }
       
   238 
       
   239     /**
       
   240      * Retrieve the array of all configuration options
       
   241      *
       
   242      * @return array
       
   243      */
       
   244     public function getConfig()
       
   245     {
       
   246         return $this->config;
       
   247     }
   238 }
   248 }