Total Complexity | 6 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 57.14% |
Changes | 0 |
1 | <?php |
||
10 | class Constants extends Config |
||
11 | { |
||
12 | protected function loadFile(string $path): array |
||
20 | } |
||
21 | |||
22 | 1 | public function buildRequires(): string |
|
23 | { |
||
24 | 1 | $res = []; |
|
25 | 1 | foreach ($this->values as $path) { |
|
26 | $res[] = "require_once '$path';"; |
||
27 | } |
||
28 | |||
29 | 1 | return implode("\n", $res); |
|
30 | } |
||
31 | |||
32 | 1 | protected function constantsRequired(): bool |
|
35 | } |
||
36 | |||
37 | 1 | protected function paramsRequired(): bool |
|
42 |