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()
    {
        view()->share('theme', 'sneakers');
        view()->share('panel', 'dashboard');
    }
public function boot ( ) { view ( ) -> share ( 'theme' , 'sneakers' ) ; view ( ) -> share ( 'panel' , 'dashboard' ) ; }
Bootstrap any application services.
Bootstrap any application services .
//View::share('theme', 'sneakers');