| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 5 | final class Modelarium |
||
| 6 | { |
||
| 7 | protected static $directiveLaravelLibraries = [ |
||
| 8 | 'Modelarium' |
||
| 9 | ]; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Register a library that provides Laravel directives. |
||
| 13 | * |
||
| 14 | * @param string $ns |
||
| 15 | * @return void |
||
| 16 | */ |
||
| 17 | public static function registerDirectiveLaravelLibrary(string $ns): void |
||
| 18 | { |
||
| 19 | self::$directiveLaravelLibraries[] = $ns; |
||
| 20 | } |
||
| 21 | |||
| 22 | public static function getDirectiveLaravelLibraries(): array |
||
| 23 | { |
||
| 24 | return self::$directiveLaravelLibraries; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Directive namespaces |
||
| 29 | */ |
||
| 30 | 17 | public static function getGeneratorDirectiveNamespaces() |
|
| 37 | ); |
||
| 38 | } |
||
| 39 | |||
| 40 | public static function getGeneratorLighthouseDirectiveNamespaces() |
||
| 47 | ); |
||
| 48 | } |
||
| 50 |