1 | <?php |
||
9 | class BlogServiceProvider extends ServiceProvider |
||
10 | { |
||
11 | /** |
||
12 | * Define your route model bindings, pattern filters, etc. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function boot() |
||
27 | |||
28 | /** |
||
29 | * Define the routes for the application. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function map() |
||
37 | |||
38 | /** |
||
39 | * Define the "api" routes for the application. |
||
40 | * |
||
41 | * These routes are typically stateless. |
||
42 | * |
||
43 | * @return void |
||
44 | */ |
||
45 | protected function mapBlogRoutes() |
||
51 | } |
||
52 |