Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | 1 | public function boot() |
|
35 | { |
||
36 | 1 | $this->configureRateLimiting(); |
|
37 | |||
38 | 1 | $this->routes(function () { |
|
39 | 1 | Route::prefix('api') |
|
40 | 1 | ->middleware('api') |
|
41 | 1 | ->namespace($this->namespace) |
|
42 | 1 | ->group(base_path('routes/api.php')); |
|
43 | |||
44 | 1 | Route::middleware('web') |
|
45 | 1 | ->namespace($this->namespace) |
|
46 | 1 | ->group(base_path('routes/web.php')); |
|
47 | }); |
||
62 |