1 | <?php |
||
22 | class RouteServiceProvider extends ServiceProvider |
||
23 | { |
||
24 | /** |
||
25 | * This namespace is applied to the controller routes in your routes file. |
||
26 | * |
||
27 | * In addition, it is set as the URL generator's root namespace. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $namespace = 'Tinyissue\Http\Controllers'; |
||
32 | |||
33 | /** |
||
34 | * Define your route model bindings, pattern filters, etc. |
||
35 | * |
||
36 | * @param \Illuminate\Routing\Router $router |
||
37 | */ |
||
38 | 62 | public function boot(Router $router) |
|
60 | |||
61 | /** |
||
62 | * Load routes for the web. |
||
63 | * |
||
64 | * @param Router $router |
||
65 | * @param string $directory |
||
66 | */ |
||
67 | protected function mapRoutes(Router $router, $directory) |
||
73 | |||
74 | /** |
||
75 | * Define the routes for the application. |
||
76 | * |
||
77 | * @param Router $router |
||
78 | */ |
||
79 | 62 | public function map(Router $router) |
|
83 | } |
||
84 |