Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 53.85% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class NStackClient |
||
15 | { |
||
16 | protected $client; |
||
17 | |||
18 | protected $nstackConfig; |
||
19 | |||
20 | /** |
||
21 | * NStackClient constructor. |
||
22 | * |
||
23 | * @param \NStack\Config $nstackConfig |
||
24 | * @param \GuzzleHttp\Client|null $client |
||
25 | * @author Casper Rasmussen <[email protected]> |
||
26 | */ |
||
27 | 15 | public function __construct(Config $nstackConfig, Client $client = null) |
|
44 | 15 | } |
|
45 | |||
46 | /** |
||
47 | * buildPath |
||
48 | * |
||
49 | * @param string $path |
||
50 | * @return string |
||
51 | * @author Casper Rasmussen <[email protected]> |
||
52 | */ |
||
53 | 14 | protected function buildPath(string $path): string |
|
56 | } |
||
57 | } |