Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
5 | class MountsFactory |
||
6 | { |
||
7 | /** |
||
8 | * @var array |
||
9 | */ |
||
10 | private $mounts; |
||
11 | |||
12 | /** |
||
13 | * @var InspectMountsProcess |
||
14 | */ |
||
15 | private $process; |
||
16 | |||
17 | public function __construct(InspectMountsProcess $process) |
||
18 | { |
||
19 | $this->process = $process; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return Mounts |
||
24 | * @throws HostException |
||
25 | */ |
||
26 | public function fromDocker(): Mounts |
||
42 | } |
||
43 | |||
44 | } |