| Total Complexity | 3 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 93.75% |
| 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 | * Typically, users are redirected here after authentication. |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | public const HOME = '/dashboard'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The path to the "home" route for your application. |
||
| 24 | * |
||
| 25 | * Typically, admins are redirected here after authentication. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | public const ADMIN_HOME = '/admin'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Define your route model bindings, pattern filters, and other route configuration. |
||
| 33 | */ |
||
| 34 | 75 | public function boot(): void |
|
| 50 | 75 | }); |
|
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Configure the rate limiters for the application. |
||
| 55 | */ |
||
| 56 | 75 | protected function configureRateLimiting(): void |
|
| 63 |