1 | <?php namespace Arcanesoft\Auth\Providers; |
||
13 | class RouteServiceProvider extends ServiceProvider |
||
14 | { |
||
15 | /* ------------------------------------------------------------------------------------------------ |
||
16 | | Getters & Setters |
||
17 | | ------------------------------------------------------------------------------------------------ |
||
18 | */ |
||
19 | /** |
||
20 | * Get the routes namespace |
||
21 | * |
||
22 | * @return string |
||
23 | */ |
||
24 | protected function getRouteNamespace() |
||
28 | |||
29 | /** |
||
30 | * Get Foundation route group. |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | 18 | protected function getFoundationRouteGroup() |
|
38 | |||
39 | /** |
||
40 | * Get the auth foundation route prefix. |
||
41 | * |
||
42 | * @return string |
||
43 | */ |
||
44 | 18 | public function getFoundationAuthPrefix() |
|
50 | |||
51 | /* ------------------------------------------------------------------------------------------------ |
||
52 | | Main Functions |
||
53 | | ------------------------------------------------------------------------------------------------ |
||
54 | */ |
||
55 | /** |
||
56 | * Define the routes for the application. |
||
57 | * |
||
58 | * @param Router $router |
||
59 | */ |
||
60 | 18 | public function map(Router $router) |
|
65 | |||
66 | /** |
||
67 | * Define the public routes for the application. |
||
68 | * |
||
69 | * @param Router $router |
||
70 | */ |
||
71 | 18 | private function mapPublicRoutes(Router $router) |
|
83 | |||
84 | /** |
||
85 | * Define the foundation routes for the application. |
||
86 | * |
||
87 | * @param Router $router |
||
88 | */ |
||
89 | 18 | private function mapFoundationRoutes(Router $router) |
|
110 | } |
||
111 |