Zend Framework

Zend_Config support in Zend_Http_Client

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.7.2
  • Fix Version/s: 1.9.0
  • Component/s: Zend_Http_Client
  • Labels:
    None

Description

A grep on the root of the Zend directory shows that Zend_Http_Client and its Test and Socket adapter classes and Interface adapter interface are among a small few components that do not currently support receiving a Zend_Config instance via their setConfig methods. This capability should be as simple as adding a check similar to the following and updating docblocks accordingly.

if ($config instanceof Zend_Config) {
    $config = $config->toArray();
} elseif (!is_array($config) {
    // ...
}

Activity

Hide
Shahar Evron added a comment -

Partially implemented in rev. 17027 - still need to implement on Adapters

Show
Shahar Evron added a comment - Partially implemented in rev. 17027 - still need to implement on Adapters
Hide
Shahar Evron added a comment -

Fully implemented (incl. adapters) in rev. 17030

Show
Shahar Evron added a comment - Fully implemented (incl. adapters) in rev. 17030

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: