app/Providers/ViewComposerServiceProvider.php
/**
     * Define your route model bindings, pattern filters, etc.
     *
     * @return void
     */
Define your route model bindings, pattern filters, etc.
@return void
Define your route model bindings pattern filters etc . @return void
public function boot()
    {
        View::composer(
            ['*'],
            \App\Http\ViewComposers\BladeIdViewComposer::class
        );
    }
public function boot ( ) { View :: composer ( [ '*' ] , \ App \ Http \ ViewComposers \ BladeIdViewComposer :: class ) ; }
Define your route model bindings, pattern filters, etc.
Define your route model bindings pattern filters etc .