src/Providers/ConfigProvider.php
/**
     * Loads the dotenv if a .env file exists
     */
Loads the dotenv if a .env file exists
Loads the dotenv if a . env file exists
private function loadDotenv(): void
    {
        if (file_exists($this->app->getBasePath('.env'))) {
            Dotenv::create(
                $this->app->getBasePath()
            )->load();
        }
    }
private function loadDotenv ( ) : void { if ( file_exists ( $ this -> app -> getBasePath ( '.env' ) ) ) { Dotenv :: create ( $ this -> app -> getBasePath ( ) ) -> load ( ) ; } }
Loads the dotenv if a .env file exists
Loads the dotenv if a . env file exists