Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 40% |
Changes | 0 |
1 | <?php |
||
17 | class ConfigException extends CriticalError |
||
18 | { |
||
19 | use DebugTraceableTrait; |
||
20 | |||
21 | /** |
||
22 | * code d'erreur |
||
23 | * |
||
24 | * @var int |
||
25 | */ |
||
26 | protected $code = 3; |
||
27 | |||
28 | public static function disabledMigrations() |
||
29 | { |
||
30 | return new static(lang('Migrations.disabled')); |
||
31 | } |
||
32 | |||
33 | public static function configDontExist(string $config, string $file) |
||
36 | } |
||
37 | |||
38 | public static function fileDontExist(string $config) |
||
41 | } |
||
42 | |||
43 | public static function notFound(string $key) |
||
44 | { |
||
45 | 2 | return new static(lang('Config.notFound', [$key])); |
|
46 | } |
||
47 | |||
48 | public static function viewAdapterConfigNotFound(string $adapter) |
||
51 | } |
||
52 | } |
||
53 |