Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Lines | 9 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
24 | View Code Duplication | protected function configureRoutes(RoutingConfigurator $routes): void |
|
25 | { |
||
26 | $routes->import('../config/{routes}/'.$this->environment.'/*.php'); |
||
27 | $routes->import('../config/{routes}/*.php'); |
||
28 | |||
29 | if (is_file($path = \dirname(__DIR__).'/config/routes.php')) { |
||
30 | (require $path)($routes->withPath($path), $this); |
||
31 | } |
||
32 | } |
||
33 | } |
||
34 |