Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class FileBasedEnvResolvingStrategy implements EnvResolvingStrategyInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var HostDetectorInterface |
||
14 | */ |
||
15 | private $hostDetector; |
||
16 | |||
17 | /** |
||
18 | * @var EnvFileReaderInterface |
||
19 | */ |
||
20 | private $envFileReader; |
||
21 | |||
22 | /** |
||
23 | * @var EnvResolvingStrategyInterface |
||
24 | */ |
||
25 | private $envResolvingStrategy; |
||
26 | |||
27 | 8 | public function __construct( |
|
35 | 8 | } |
|
36 | |||
37 | 8 | public function getEnv(string $envName): string |
|
45 |