| 1 | <?php |
||
| 7 | class GuzzleFactory |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param array $config |
||
| 11 | * |
||
| 12 | * @return Guzzle |
||
| 13 | * |
||
| 14 | * @throws NotSupportedException when Guzzle vendor version is not supported. |
||
| 15 | */ |
||
| 16 | public static function createGuzzle($config) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return int current Guzzle vendor version. |
||
| 34 | * |
||
| 35 | * @throws NotSupportedException when Guzzle vendor version is not supported. |
||
| 36 | */ |
||
| 37 | public static function detectGuzzleVersion() |
||
| 59 | } |
||
| 60 |