Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class AppException extends \Exception |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * @return \Quantum\Exceptions\AppException |
||
26 | */ |
||
27 | public static function missingAppKey(): AppException |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * |
||
34 | * @param string $methodName |
||
35 | * @param string $className |
||
36 | * @return self |
||
37 | */ |
||
38 | public static function methodNotSupported(string $methodName, string $className): self |
||
39 | { |
||
40 | return new static(t('exception.not_supported_method', [$methodName, $className]), E_WARNING); |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @param string $driver |
||
45 | * @return self |
||
46 | */ |
||
47 | public static function unsupportedDriver(string $driver): self |
||
50 | } |
||
51 | |||
53 |