Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class ConfigException extends BaseException |
||
24 | { |
||
25 | /** |
||
26 | * @return ConfigException |
||
27 | */ |
||
28 | public static function configAlreadyLoaded(): ConfigException |
||
29 | { |
||
30 | return new static(t('exception.config_already_loaded'), E_WARNING); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param string $name |
||
35 | * @return ConfigException |
||
36 | */ |
||
37 | public static function configCollision(string $name): ConfigException |
||
40 | } |
||
41 | } |