src/Helpers/EnvironmentManager.php
public function getEnvContent()
    {
        if (!file_exists($this->envPath)) {
            if (file_exists($this->envExamplePath)) {
                copy($this->envExamplePath, $this->envPath);
            } else {
                touch($this->envPath);
            }
        }

        return file_get_contents($this->envPath);
    }
public function getEnvContent()
    {
        if (!file_exists($this->envPath)) {
            if (file_exists($this->envExamplePath)) {
                copy($this->envExamplePath, $this->envPath);
            } else {
                touch($this->envPath);
            }
        }

        return file_get_contents($this->envPath);
    }
public function getEnvContent ( ) { if ( ! file_exists ( $ this -> envPath ) ) { if ( file_exists ( $ this -> envExamplePath ) ) { copy ( $ this -> envExamplePath , $ this -> envPath ) ; } else { touch ( $ this -> envPath ) ; } } return file_get_contents ( $ this -> envPath ) ; }
Get the content of the .env file.

@return string
Get the content of the . env file .