src/Console/DuskCommand.php
protected function refreshEnvironment()
    {
        // BC fix to support Dotenv ^2.2
        if (! method_exists(Dotenv::class, 'create')) {
            (new Dotenv(base_path()))->overload();

            return;
        }

        Dotenv::create(base_path())->overload();
    }
protected function refreshEnvironment()
    {
        // BC fix to support Dotenv ^2.2
        if (! method_exists(Dotenv::class, 'create')) {
            (new Dotenv(base_path()))->overload();

            return;
        }

        Dotenv::create(base_path())->overload();
    }
protected function refreshEnvironment ( ) { // BC fix to support Dotenv ^2.2 if ( ! method_exists ( Dotenv :: class , 'create' ) ) { ( new Dotenv ( base_path ( ) ) ) -> overload ( ) ; return ; } Dotenv :: create ( base_path ( ) ) -> overload ( ) ; }
Refresh the current environment variables.

@return void
Refresh the current environment variables .