| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | class MachineStoragePathFactory |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var HostMountFactory |
||
| 12 | */ |
||
| 13 | private $hostMountFactory; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var Filesystem |
||
| 17 | */ |
||
| 18 | private $filesystem; |
||
| 19 | |||
| 20 | public function __construct(HostMountFactory $hostMountFactory, Filesystem $filesystem) |
||
| 21 | { |
||
| 22 | $this->hostMountFactory = $hostMountFactory; |
||
| 23 | $this->filesystem = $filesystem; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function fromEnv(): MachineStoragePath |
||
| 31 | ); |
||
| 32 | } |
||
| 35 |