Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
11 | class RouteServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | /** |
||
14 | * Move base routes to a service provider to make sure all filters & actions can hook to base routes |
||
15 | */ |
||
16 | public function boot(): void |
||
17 | { |
||
18 | // add rate limit for api |
||
19 | // $this->configureRateLimiting(); |
||
20 | } |
||
21 | |||
22 | protected function configureRateLimiting(): void |
||
30 | }); |
||
31 | } |
||
33 |