public static function set(string $key, string $value, bool $to_file = true, bool $put = true, bool $set = true)
    {
        if ($to_file) {
            self::toFile($key, $value);
        }

        if ($put) {
            putenv("$key=$value");
        }

        if ($set) {
            $_ENV[$key] = $value;
        }
    }