app/Providers/AppServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot(ViewFactory $view)
    {
      $view->composer('master-back', 'App\Http\ViewComposers\ApplicationComposer');
    }
public function boot ( ViewFactory $ view ) { $ view -> composer ( 'master-back' , 'App\Http\ViewComposers\ApplicationComposer' ) ; }
Bootstrap any application services.
Bootstrap any application services .
//Share notifacations across all views