| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class HostMountFactory |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var MountsFactory |
||
| 12 | */ |
||
| 13 | private $mountsFactory; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var Filesystem |
||
| 17 | */ |
||
| 18 | private $filesystem; |
||
| 19 | |||
| 20 | public function __construct(MountsFactory $mountsFactory, Filesystem $filesystem) |
||
| 21 | { |
||
| 22 | $this->mountsFactory = $mountsFactory; |
||
| 23 | $this->filesystem = $filesystem; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return HostMount |
||
| 28 | * @throws \Assert\AssertionFailedException |
||
| 29 | * @throws HostException |
||
| 30 | */ |
||
| 31 | public function fromDocker(): HostMount |
||
| 45 | } |
||
| 46 | } |