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()
    {
        Paginator::useBootstrap();
        $setting = Setting::latest()->first();
        view()->share(compact('setting'));
    }
public function boot ( ) { Paginator :: useBootstrap ( ) ; $ setting = Setting :: latest ( ) -> first ( ) ; view ( ) -> share ( compact ( 'setting' ) ) ; }
Bootstrap any application services.
Bootstrap any application services .