| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | class HostMount implements LazyEnvironmentValue |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | private $value; |
||
| 14 | |||
| 15 | public function __construct(array $value) |
||
| 16 | { |
||
| 17 | Assertion::keyExists($value, 'Source'); |
||
| 18 | Assertion::string($value['Source']); |
||
| 19 | |||
| 20 | $this->value = $value; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Absolute path on the host filesystem |
||
| 25 | * |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | public function sourcePath(): string |
||
| 31 | } |
||
| 32 | } |