| Total Complexity | 4 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 5 | final class Modelarium |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Namespaces for base laravel libraries |
||
| 9 | * |
||
| 10 | * @var string[] |
||
| 11 | */ |
||
| 12 | protected static $directiveLaravelLibraries = [ |
||
| 13 | 'Modelarium' |
||
| 14 | ]; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Register a library that provides Laravel directives. |
||
| 18 | * |
||
| 19 | * @param string $ns |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public static function registerDirectiveLaravelLibrary(string $ns): void |
||
| 25 | } |
||
| 26 | |||
| 27 | public static function getDirectiveLaravelLibraries(): array |
||
| 28 | { |
||
| 29 | return self::$directiveLaravelLibraries; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Directive namespaces |
||
| 34 | * @return string[] The list of directive namespaces |
||
| 35 | */ |
||
| 36 | 19 | public static function getGeneratorDirectiveNamespaces(): array |
|
| 43 | ); |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Lighthouse directive namespaces |
||
| 48 | * |
||
| 49 | * @return string[] |
||
| 50 | */ |
||
| 51 | public static function getGeneratorLighthouseDirectiveNamespaces(): array |
||
| 61 |