| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class RouteBuilder |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @param array<string, Closure> $moduleClosures moduleName => closure(Route $collector): void |
||
| 27 | * @param array<string, array> $moduleConfigs moduleName => config options |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function build(array $moduleClosures, array $moduleConfigs = []): array |
||
| 49 |