| Total Complexity | 3 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class RouteServiceProvider extends ServiceProvider |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * The path to the "home" route for your application. |
||
| 15 | * |
||
| 16 | * This is used by Laravel authentication to redirect users after login. |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | public const HOME = '/home'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The controller namespace for the application. |
||
| 24 | * |
||
| 25 | * When present, controller route declarations will automatically be prefixed with this namespace. |
||
| 26 | * |
||
| 27 | * @var string|null |
||
| 28 | */ |
||
| 29 | protected $namespace = 'App\\Http\\Controllers'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Define your route model bindings, pattern filters, etc. |
||
| 33 | * |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | public function boot() |
||
| 49 | }); |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Configure the rate limiters for the application. |
||
| 54 | * |
||
| 55 | * @return void |
||
| 56 | */ |
||
| 57 | protected function configureRateLimiting() |
||
| 64 |