| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 94.12% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class DotEnvFileReaderAdapter implements EnvFileReaderInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var PathResolverInterface |
||
| 16 | */ |
||
| 17 | private $pathResolver; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var FileNameResolverInterface |
||
| 21 | */ |
||
| 22 | private $fileNameResolver; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var bool |
||
| 26 | */ |
||
| 27 | private $isEnvFileAlreadyLoaded; |
||
| 28 | |||
| 29 | 9 | public function __construct(PathResolverInterface $pathResolver, FileNameResolverInterface $fileNameResolver) |
|
| 37 | 9 | } |
|
| 38 | |||
| 39 | 15 | public function readEnvFile(HostId $hostId): void |
|
| 57 |