public static function FromConfigInterface::factory

Static factory method used to turn an array or collection of configuration data into an instantiated object.

Parameters

array|Collection $config Configuration data:

Return value

FromConfigInterface

File

drupal/core/vendor/guzzle/common/Guzzle/Common/FromConfigInterface.php, line 17

Class

FromConfigInterface
Interfaces that adds a factory method which is used to instantiate a class from an array of configuration options.

Namespace

Guzzle\Common

Code

public static function factory($config = array());