public static function getFileEnv(string $env):string
    {
        $env = strtolower($env);
        if (in_array($env, array("dev", "prod"))) {
            return (self::$env_file);
        } else {
            throw new \Exception("Environment Error : Environment $env doesn't exist");
        }
    }
public static function getFileEnv(string $env):string
    {
        $env = strtolower($env);
        if (in_array($env, array("dev", "prod"))) {
            return (self::$env_file);
        } else {
            throw new \Exception("Environment Error : Environment $env doesn't exist");
        }
    }
public static function getFileEnv ( string $ env ) : string { $ env = strtolower ( $ env ) ; if ( in_array ( $ env , array ( "dev" , "prod" ) ) ) { return ( self :: $ env_file ) ; } else { throw new \ Exception ( "Environment Error : Environment $env doesn't exist" ) ; } }
Get environment file
@param string $env Environment name
@return string Environment file
@throws \Exception
Get environment file