Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class LoggerException extends BaseException |
||
24 | { |
||
25 | |||
26 | /** |
||
27 | * @param string $name |
||
28 | * @return LoggerException |
||
29 | */ |
||
30 | public static function logPathIsNotDirectory(string $name): LoggerException |
||
31 | { |
||
32 | return new static(t('exception.log_path_is_not_directory', $name)); |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param string $name |
||
37 | * @return LoggerException |
||
38 | */ |
||
39 | public static function logPathIsNotFile(string $name): LoggerException |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @param string $name |
||
46 | * @return LoggerException |
||
47 | */ |
||
48 | public static function adapterNotAllowed(string $name): LoggerException |
||
51 | } |
||
52 | } |