| 1 | <?php namespace Arcanesoft\Core\Providers; |
||
| 13 | class RouteServiceProvider extends ServiceProvider |
||
| 14 | { |
||
| 15 | /* ----------------------------------------------------------------- |
||
| 16 | | Properties |
||
| 17 | | ----------------------------------------------------------------- |
||
| 18 | */ |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The application's route middleware. |
||
| 22 | * |
||
| 23 | * These middleware may be assigned to groups or used individually. |
||
| 24 | * |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | protected $routeMiddleware = [ |
||
| 28 | 'admin' => Middleware\CheckAdministrators::class, |
||
| 29 | ]; |
||
| 30 | |||
| 31 | /* ----------------------------------------------------------------- |
||
| 32 | | Main Methods |
||
| 33 | | ----------------------------------------------------------------- |
||
| 34 | */ |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Define the routes for the application. |
||
| 38 | * |
||
| 39 | * @param \Illuminate\Contracts\Routing\Registrar $router |
||
| 40 | */ |
||
| 41 | 124 | public function map(Router $router) |
|
| 45 | } |
||
| 46 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.