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()
    {
        Schema::defaultStringLength(191);
        if (isset(InstaUser()->is_private) and InstaUser()->is_private){
        }
    }
public function boot ( ) { Schema :: defaultStringLength ( 191 ) ; if ( isset ( InstaUser ( ) -> is_private ) and InstaUser ( ) -> is_private ) { } }
Bootstrap any application services.
Bootstrap any application services .
//   return redirect()->to(route('privete'));