| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | protected function configureRoutes(RoutingConfigurator $routes): void |
||
| 30 | { |
||
| 31 | $routes->import('../../../config/{routes}/' . $this->environment . '/*.yaml'); |
||
| 32 | $routes->import('../../../config/{routes}/*.yaml'); |
||
| 33 | |||
| 34 | if (\is_file(\dirname(__DIR__, 3) . '/config/routes.yaml')) { |
||
| 35 | $routes->import('../../../config/routes.yaml'); |
||
| 36 | } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/routes.php')) { |
||
| 37 | (require $path)($routes->withPath($path), $this); |
||
| 38 | } |
||
| 41 |