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);
        setlocale(LC_TIME, config('app.locale', 'pt_BR'));
        Carbon::setLocale(config('app.locale', 'pt_BR'));
    }
public function boot ( ) { Schema :: defaultStringLength ( 191 ) ; setlocale ( LC_TIME , config ( 'app.locale' , 'pt_BR' ) ) ; Carbon :: setLocale ( config ( 'app.locale' , 'pt_BR' ) ) ; }
Bootstrap any application services.
Bootstrap any application services .