| Total Complexity | 7 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Larapi |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @return Module[] |
||
| 17 | */ |
||
| 18 | 127 | public static function getModules(): array |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $name |
||
| 31 | * @return Module |
||
| 32 | * @throws \Foundation\Exceptions\Exception |
||
| 33 | */ |
||
| 34 | 127 | public static function getModule(string $name): Module |
|
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 127 | public static function getModulesBasePath(): string |
|
| 45 | { |
||
| 46 | 127 | return base_path('src/Modules'); |
|
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string[] |
||
| 51 | */ |
||
| 52 | 127 | public static function getModuleNames(): array |
|
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param string $module |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | 127 | private static function getModulePath(string $module): string |
|
| 64 | } |
||
| 65 | |||
| 66 | 127 | public static function getApiDomainName() |
|
| 74 |