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 the auth foundation route prefix. |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | 24 | public function getFoundationAuthPrefix() |
|
40 | |||
41 | /* ------------------------------------------------------------------------------------------------ |
||
42 | | Main Functions |
||
43 | | ------------------------------------------------------------------------------------------------ |
||
44 | */ |
||
45 | /** |
||
46 | * Define the routes for the application. |
||
47 | * |
||
48 | * @param Router $router |
||
49 | */ |
||
50 | 24 | public function map(Router $router) |
|
55 | |||
56 | /** |
||
57 | * Define the public routes for the application. |
||
58 | * |
||
59 | * @param Router $router |
||
60 | */ |
||
61 | 24 | private function mapPublicRoutes(Router $router) |
|
82 | |||
83 | /** |
||
84 | * Define the foundation routes for the application. |
||
85 | * |
||
86 | * @param Router $router |
||
87 | */ |
||
88 | 24 | private function mapFoundationRoutes(Router $router) |
|
116 | } |
||
117 |