DEFAULT_DEFLATE_LEVEL
DEFAULT_DEFLATE_LEVEL = 6
$comment : string
$largeFileSize : int
Size, in bytes, of the largest file to try and load into memory (used by addFileFromPath()). Large files may also be compressed differently; see the 'largeFileMethod' option. Default is ~20 Mb.
$largeFileMethod : \ZipStream\Option\Method
How to handle large files. Legal values are Method::STORE() (the default), or Method::DEFLATE(). STORE sends the file raw and is significantly faster, while DEFLATE compresses the file and is much, much slower. Note that DEFLATE must compress the file twice and is extremely slow.
$sendHttpHeaders : bool
Boolean indicating whether or not to send the HTTP headers for this file.
$httpHeaderCallback : callable
The method called to send headers
$enableZip64 : bool
Enable Zip64 extension, supporting very large archives (any size > 4 GB or file count > 64k)
$zeroHeader : bool
Enable streaming files with single read where general purpose bit 3 indicates local file header contain zero values in crc and size fields, these appear only after file contents in data descriptor block.
$statFiles : bool
Enable reading file stat for determining file size.
When a 32-bit system reads file size that is over 2 GB, invalid value appears in file size due to integer overflow. Should be disabled on 32-bit systems with method addFileFromPath if any file may exceed 2 GB. In this case file will be read in blocks and correct size will be determined from content.
$flushOutput : bool
Enable flush after every write to output stream.
$contentDisposition : string
HTTP Content-Disposition. Defaults to 'attachment', where FILENAME is the specified filename.
Note that this does nothing if you are not sending HTTP headers.
$contentType : string
Note that this does nothing if you are not sending HTTP headers.
$deflateLevel : int
$outputStream : resource