/**
  * Bootstrap any application services.
  *
  * @return void
  */
 public function boot()
 {
     //
     View::composer(['front.includes.header'], function ($view) {
         $model = new Category();
         $categories = $model->getCategoryTree();
         $view->with('categories', $categories);
     });
 }