Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 50% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class ConfigException extends RuntimeException |
||
10 | { |
||
11 | public static function configDirNotFound(string $rootDir): self |
||
12 | { |
||
13 | throw new self(sprintf( |
||
14 | '"config" directory not found in %s directory', |
||
15 | $rootDir |
||
16 | )); |
||
17 | } |
||
18 | |||
19 | 1 | public static function keyNotFound(string $key, string $class): self |
|
25 | )); |
||
26 | } |
||
28 |