mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-26 14:56:03 +03:00
19 lines
487 B
PHP
19 lines
487 B
PHP
|
<?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());
|
||
|
}
|