1 | <?php |
||
23 | class GalantomClient extends GuzzleClient |
||
24 | { |
||
25 | /** |
||
26 | * Version for this library |
||
27 | * |
||
28 | * @const string |
||
29 | */ |
||
30 | const VERSION = '1.0.1'; |
||
31 | |||
32 | |||
33 | /** |
||
34 | * GalantomClient constructor. |
||
35 | * @param Client $client |
||
36 | * @param array $config |
||
37 | */ |
||
38 | 2 | public function __construct(Client $client, $config = []) |
|
48 | |||
49 | /** |
||
50 | * @param array $config |
||
51 | * @return GalantomClient |
||
52 | */ |
||
53 | 2 | public static function factory($config = []) |
|
58 | |||
59 | /** |
||
60 | * Load configuration file(s) and parse resources. |
||
61 | * |
||
62 | * @return Description |
||
63 | */ |
||
64 | 2 | protected function generateDescription() |
|
73 | } |
||
74 |