public static function getRequiredVar(string $name)
    {
        $value = getenv($name);
        if ($value === false) {
            throw EnvVarNotFoundException::create($name);
        }
        return $value;
    }