diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-17 20:45:02 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-17 20:45:02 +0100 |
commit | 8df3db566a3a937b45ebf11adb90d265e6f5e2d4 (patch) | |
tree | 4d541098d751d5a9acf8c12f6fb9f308ace066ac /vendor/guzzle/guzzle/src/Guzzle/Common/FromConfigInterface.php | |
download | flyspray-8df3db566a3a937b45ebf11adb90d265e6f5e2d4.tar.xz |
initial checking of customized version 1.0rc9
Diffstat (limited to 'vendor/guzzle/guzzle/src/Guzzle/Common/FromConfigInterface.php')
-rw-r--r-- | vendor/guzzle/guzzle/src/Guzzle/Common/FromConfigInterface.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/src/Guzzle/Common/FromConfigInterface.php b/vendor/guzzle/guzzle/src/Guzzle/Common/FromConfigInterface.php new file mode 100644 index 0000000..c8b1317 --- /dev/null +++ b/vendor/guzzle/guzzle/src/Guzzle/Common/FromConfigInterface.php @@ -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()); +} |