1 | <?php |
||
8 | final class InvalidConfigException extends LogicException implements Exception |
||
9 | { |
||
10 | use ExceptionConstructorTools; |
||
11 | |||
12 | /** |
||
13 | * @internal |
||
14 | * |
||
15 | * @param string $filename |
||
16 | * |
||
17 | * @return self |
||
18 | */ |
||
19 | public static function fromPHPFileError($filename) |
||
23 | |||
24 | /** |
||
25 | * @internal |
||
26 | * |
||
27 | * @param string $filename |
||
28 | * @param string $message |
||
29 | * |
||
30 | * @return self |
||
31 | */ |
||
32 | public static function fromJSONFileError($filename, $message) |
||
36 | |||
37 | /** |
||
38 | * @internal |
||
39 | * |
||
40 | * @param string $filename |
||
41 | * @param string $message |
||
42 | * |
||
43 | * @return self |
||
44 | */ |
||
45 | public static function fromYAMLFileError($filename, $message) |
||
49 | |||
50 | /** |
||
51 | * @internal |
||
52 | * |
||
53 | * @param string $name |
||
54 | * |
||
55 | * @return self |
||
56 | */ |
||
57 | public static function fromNameWhenClassAndFactorySpecified($name) |
||
64 | |||
65 | /** |
||
66 | * @internal |
||
67 | * |
||
68 | * @param string $name |
||
69 | * |
||
70 | * @return self |
||
71 | */ |
||
72 | public static function fromNameWhenClassAndServiceSpecified($name) |
||
79 | |||
80 | /** |
||
81 | * @internal |
||
82 | * |
||
83 | * @param string $name |
||
84 | * |
||
85 | * @return self |
||
86 | */ |
||
87 | public static function fromNameWhenFactoryAndServiceSpecified($name) |
||
94 | } |
||
95 |