| 1 | <?php |
||
| 19 | class RoutesProvider extends LaravelRouteServiceProvider |
||
| 20 | { |
||
| 21 | |||
| 22 | use RoutesLoaderTrait; |
||
| 23 | use HashIdTrait; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * This namespace is applied to your controller routes. |
||
| 27 | * |
||
| 28 | * In addition, it is set as the URL generator's root namespace. |
||
| 29 | * |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $namespace; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Instance of the Laravel default Router Class |
||
| 36 | * |
||
| 37 | * @var \Illuminate\Routing\Router |
||
| 38 | */ |
||
| 39 | private $webRouter; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Instance of the Dingo Api router. |
||
| 43 | * |
||
| 44 | * @var \Dingo\Api\Routing\Router |
||
| 45 | */ |
||
| 46 | public $apiRouter; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Define your route model bindings, pattern filters, etc. |
||
| 50 | */ |
||
| 51 | public function boot() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Define the routes for the application. |
||
| 61 | * |
||
| 62 | * @param \Illuminate\Routing\Router $webRouterParam |
||
| 63 | */ |
||
| 64 | public function map(LaravelRouter $webRouterParam) |
||
| 72 | |||
| 73 | } |
||
| 74 |