| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 26 | public function boot(): void |
|
| 26 | { |
||
| 27 | 26 | $this->configureRateLimiting(); |
|
| 28 | |||
| 29 | 26 | $this->routes(function () { |
|
| 30 | 26 | Route::middleware('api') |
|
| 31 | 26 | ->prefix('api') |
|
| 32 | 26 | ->group(base_path('routes/api.php')); |
|
| 33 | |||
| 34 | 26 | Route::middleware('web') |
|
| 35 | 26 | ->group(base_path('routes/web.php')); |
|
| 36 | 26 | }); |
|
| 49 |