forked from lino/radar-wp
Initial import.
This commit is contained in:
commit
86383280c9
428 changed files with 68738 additions and 0 deletions
18
vendor/guzzle/common/Guzzle/Common/FromConfigInterface.php
vendored
Normal file
18
vendor/guzzle/common/Guzzle/Common/FromConfigInterface.php
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Guzzle\Common;
|
||||
|
||||
/**
|
||||
* Interfaces that adds a factory method which is used to instantiate a class from an array of configuration options.
|
||||
*/
|
||||
interface FromConfigInterface
|
||||
{
|
||||
/**
|
||||
* Static factory method used to turn an array or collection of configuration data into an instantiated object.
|
||||
*
|
||||
* @param array|Collection $config Configuration data
|
||||
*
|
||||
* @return FromConfigInterface
|
||||
*/
|
||||
public static function factory($config = array());
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue