Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function __construct(VmwareApiClient $client,array $config = []) |
||
13 | { |
||
14 | $guzzleConfig = array_merge([ |
||
15 | 'base_uri' => $client->getBaseUrl(), |
||
16 | "verify"=>$client->ssl, |
||
17 | 'headers' => [ |
||
18 | 'Vmware-Api-Session-Id' => SessionHandler::getSession($client), |
||
19 | 'Content-Type' => 'application/json', |
||
20 | "Accept"=>"application/json" |
||
21 | ], |
||
22 | ], $config); |
||
23 | parent::__construct($guzzleConfig); |
||
24 | |||
27 | } |