Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class ShhEnvVarProcessor implements EnvVarProcessorInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var Shh |
||
11 | */ |
||
12 | private $shh; |
||
13 | |||
14 | /** |
||
15 | * ShhEnvVarProcessor constructor. |
||
16 | * |
||
17 | * @param Shh $shh |
||
18 | */ |
||
19 | public function __construct(Shh $shh) |
||
20 | { |
||
21 | $this->shh = $shh; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @inheritDoc |
||
26 | */ |
||
27 | public function getEnv($prefix, $name, \Closure $getEnv): mixed |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | public static function getProvidedTypes(): array |
||
41 | ]; |
||
42 | } |
||
44 |