We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 8 | class RouteServiceProvider extends ServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * This namespace is applied to your controller routes. |
||
| 12 | * |
||
| 13 | * In addition, it is set as the URL generator's root namespace. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $namespace = 'DoeSangue\Http\Controllers'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Define your route model bindings, pattern filters, etc. |
||
| 21 | */ |
||
| 22 | 7 | public function boot() |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Define the routes for the application. |
||
| 29 | */ |
||
| 30 | 7 | public function map() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Define the "web" routes for the application. |
||
| 39 | * |
||
| 40 | * These routes all receive session state, CSRF protection, etc. |
||
| 41 | */ |
||
| 42 | /* |
||
| 43 | protected function mapWebRoutes() |
||
| 44 | { |
||
| 45 | Route::group( |
||
| 46 | [ |
||
| 47 | 'middleware' => 'web', |
||
| 48 | 'namespace' => $this->namespace, |
||
| 49 | ], function ($router) { |
||
| 50 | include base_path('routes/web.php'); |
||
| 51 | } |
||
| 52 | ); |
||
| 53 | } |
||
| 54 | */ |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Define the "api" routes for the application. |
||
| 58 | * |
||
| 59 | * These routes are typically stateless. |
||
| 60 | */ |
||
| 61 | 7 | protected function mapApiRoutes() |
|
| 72 | } |
||
| 73 |