src/Core/Console/RouteCacheCommand.php
protected function getFreshApplication()
    {
        return tap(require $this->laravel->bootstrapPath('app.php'), function ($app) {
            $app->make(\Illuminate\Contracts\Console\Kernel::class)->bootstrap();
        });
    }
protected function getFreshApplication()
    {
        return tap(require $this->laravel->bootstrapPath('app.php'), function ($app) {
            $app->make(\Illuminate\Contracts\Console\Kernel::class)->bootstrap();
        });
    }
protected function getFreshApplication ( ) { return tap ( require $ this -> laravel -> bootstrapPath ( 'app.php' ) , function ( $ app ) { $ app -> make ( \ Illuminate \ Contracts \ Console \ Kernel :: class ) -> bootstrap ( ) ; } ) ; }
Return a fresh application instance.

@return Application
Return a fresh application instance .