Open Journal Systems
3.3.0
|
Static Public Member Functions | |
static | factory ($config=array()) |
Interfaces that adds a factory method which is used to instantiate a class from an array of configuration options.
Definition at line 8 of file FromConfigInterface.php.
|
static |
Static factory method used to turn an array or collection of configuration data into an instantiated object.
array | Collection | $config | Configuration data |
Implemented in Guzzle\Service\Client, Guzzle\Cache\CacheAdapterFactory, and Guzzle\Tests\Service\Mock\MockClient.