| Total Complexity | 4 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 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() |
||
| 29 | { |
||
| 30 | parent::boot(); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Define the routes for the application. |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | public function map() |
||
| 38 | { |
||
| 39 | $this->mapWebRoutes(); |
||
| 40 | } |
||
| 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() |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Get routes file. |
||
| 56 | * @return mixed |
||
| 57 | */ |
||
| 58 | private function getRoutesFile() |
||
| 63 |