protected function reloadEnvironment()
    {
        // Reload the environment variables from the file.
        (new Dotenv(app()->environmentPath(), app()->environmentFile()))->overload();

        // Reload the config repository.
        $loader = new LoadConfiguration;
        $this->callSilent('config:clear');
        $loader->bootstrap(app());
    }