interface FromConfigInterface

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

Hierarchy

Expanded class hierarchy of FromConfigInterface

All classes that implement FromConfigInterface

File

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

Namespace

Guzzle\Common
View source
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());

}

Members

Namesort descending Modifiers Type Description Overrides
FromConfigInterface::factory public static function Static factory method used to turn an array or collection of configuration data into an instantiated object.