| Conditions | 4 |
| Paths | 8 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function __construct($params) |
||
| 15 | { |
||
| 16 | if (isset($params['baseUrl'])) { |
||
| 17 | $this->baseUrl = $params['baseUrl']; |
||
| 18 | } |
||
| 19 | if (isset($params['apiKey'])) { |
||
| 20 | $this->apiKey = $params['apiKey']; |
||
| 21 | } |
||
| 22 | if (isset($params['httpClient'])) { |
||
| 23 | $this->httpClient = $params['httpClient']; |
||
| 24 | } |
||
| 25 | } |
||
| 26 | |||
| 48 |