\Guzzle\CommonFromConfigInterface

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

Summary

Methods
Constants
factory()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

factory()

factory(array|\Guzzle\Common\Collection  $config = array()) : \Guzzle\Common\FromConfigInterface

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

Parameters

array|\Guzzle\Common\Collection $config

Configuration data

Returns

\Guzzle\Common\FromConfigInterface