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