| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function loadFile(string $section, string $filename): array |
||
| 38 | { |
||
| 39 | try { |
||
| 40 | return ContainerScope::runScope($this->container, function () use ($filename) { |
||
| 41 | return (require $filename); |
||
| 42 | }); |
||
| 43 | } catch (\Throwable $e) { |
||
| 44 | throw new LoaderException($e->getMessage(), $e->getCode(), $e); |
||
| 45 | } |
||
| 48 |