| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class CoreException extends \Exception |
||
| 19 | { |
||
| 20 | public static function modulesFileNotFound(string $path): self |
||
| 21 | { |
||
| 22 | return new self(sprintf( |
||
| 23 | 'Modules config "%s" file not exists.', |
||
| 24 | $path |
||
| 25 | )); |
||
| 26 | } |
||
| 27 | |||
| 28 | public static function moduleShouldImplementModuleInterface(string $class): self |
||
| 33 | )); |
||
| 34 | } |
||
| 36 |