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