| 1 | <?php |
||
| 10 | class BlogServiceProvider extends ServiceProvider |
||
| 11 | { |
||
| 12 | protected $namespace = '\Chriscreates\Blog\Controllers'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Define your route model bindings, pattern filters, etc. |
||
| 16 | * |
||
| 17 | * @return void |
||
| 18 | */ |
||
| 19 | public function boot() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Define the routes for the application. |
||
| 35 | * |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | public function map() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Define the "api" routes for the application. |
||
| 45 | * |
||
| 46 | * These routes are typically stateless. |
||
| 47 | * |
||
| 48 | * @return void |
||
| 49 | */ |
||
| 50 | protected function mapBlogRoutes() |
||
| 55 | } |
||
| 56 |