/**
  * Boot the service provider
  *
  * @return void
  */
 public function boot()
 {
     //Register the packages assets
     $this->package('mscharl/pretty-error-page');
     //add a language namespace to allow customizing of translations
     Lang::addNamespace('pretty-error-page-customized', app_path('lang/packages/mscharl/pretty-error-page'));
 }
 public function boot(Router $router)
 {
     Lang::addNamespace('_GHBaseComponent', __DIR__ . '/../../resources/lang');
     View::addNamespace('_GHBaseComponent', __DIR__ . '/../../resources/views');
     parent::boot($router);
 }
 private function addNamespaces()
 {
     Lang::addNamespace(Language::NS, app_path() . '/platform-core/lang');
 }
 public function boot(Router $router)
 {
     Lang::addNamespace(self::$componentNamespace, __DIR__ . '/../../resources/lang');
     View::addNamespace(self::$componentNamespace, __DIR__ . '/../../resources/views');
     parent::boot($router);
 }