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