public static function setEnvVariables()
    {
        $env_variables = [];

        if (file_exists(static::projectRoot() . '/.env')) {
            $env_variables = (new Dotenv(static::projectRoot()))
                ->load();
        }

        self::$projectEnv = $env_variables;
    }
public static function setEnvVariables()
    {
        $env_variables = [];

        if (file_exists(static::projectRoot() . '/.env')) {
            $env_variables = (new Dotenv(static::projectRoot()))
                ->load();
        }

        self::$projectEnv = $env_variables;
    }
public static function setEnvVariables ( ) { $ env_variables = [ ] ; if ( file_exists ( static :: projectRoot ( ) . '/.env' ) ) { $ env_variables = ( new Dotenv ( static :: projectRoot ( ) ) ) -> load ( ) ; } self :: $ projectEnv = $ env_variables ; }
Set Project-x environment variables.
Set Project - x environment variables .