Blame view

sources/apps/files_external/3rdparty/aws-sdk-php/Guzzle/Common/FromConfigInterface.php 487 Bytes
31b7f2792   Kload   Upgrade to ownclo...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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());
  }