1 | <?php |
||
15 | class RbacRouteServiceProvider extends RouteServiceProvider |
||
16 | { |
||
17 | /** |
||
18 | * This namespace is applied to your controller routes. |
||
19 | * In addition, it is set as the URL generator's root namespace. |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $namespace = 'Itstructure\LaRbac\Http\Controllers'; |
||
23 | |||
24 | /** |
||
25 | * Define your route model bindings, pattern filters, etc. |
||
26 | * @return void |
||
27 | */ |
||
28 | public function boot() |
||
32 | |||
33 | /** |
||
34 | * Define the routes for the application. |
||
35 | * @return void |
||
36 | */ |
||
37 | public function map() |
||
41 | |||
42 | /** |
||
43 | * Define the "web" routes for the application. |
||
44 | * These routes all receive session state, CSRF protection, etc. |
||
45 | * @return void |
||
46 | */ |
||
47 | protected function mapWebRoutes() |
||
53 | |||
54 | /** |
||
55 | * Get routes file. |
||
56 | * @return mixed |
||
57 | */ |
||
58 | private function getRoutesFile() |
||
62 | } |
||
63 |