<?php

namespace RawTypeOE\Vendor\PhpOffice\PhpSpreadsheet\Writer;

use RawTypeOE\Vendor\ZipStream\Option\Archive;
use RawTypeOE\Vendor\ZipStream\ZipStream;

class ZipStream3
{
    /**
     * @param resource $fileHandle
     */
    public static function newZipStream($fileHandle): \RawTypeOE\Vendor\ZipStream\ZipStream
    {
        return new ZipStream(
            enableZip64: false,
            outputStream: $fileHandle,
            sendHttpHeaders: false,
            defaultEnableZeroHeader: false,
        );
    }
}
