app/Providers/AppServiceProvider.php
/**
     * Register development and local enviroment service providers
     */
Register development and local enviroment service providers
Register development and local enviroment service providers
private function registerDevProviders()
    {
        if ($this->app->environment('local')) {
            $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
        }
        if ($this->app->environment('local') || $this->app->environment('development')) {
            $this->app->register(\Barryvdh\Debugbar\ServiceProvider::class);
        }
    }
private function registerDevProviders ( ) { if ( $ this -> app -> environment ( 'local' ) ) { $ this -> app -> register ( \ Barryvdh \ LaravelIdeHelper \ IdeHelperServiceProvider :: class ) ; } if ( $ this -> app -> environment ( 'local' ) || $ this -> app -> environment ( 'development' ) ) { $ this -> app -> register ( \ Barryvdh \ Debugbar \ ServiceProvider :: class ) ; } }
Register development and local enviroment service providers
Register development and local enviroment service providers
// Local enviroment enviroment service providers // Local and development enviroment service providers //$this->app->register(\App\Services\ApiDebug\ApiDebugServiceProvider::class);