19declare(strict_types=1);
111 $clone = clone $this;
123 $clone = clone $this;
135 $clone = clone $this;
int $ratio_check_min_uncompressed_size
withMaxAmountOfEntries(int $max_amount_of_entries)
withMaxUncompressedSize(int $max_uncompressed_size)
int $max_uncompressed_size
int $max_amount_of_entries
int $max_compression_ratio
const DEFAULT_RATIO_CHECK_MIN_UNCOMPRESSED_SIZE
@description The ratio check is only applied once the total uncompressed size exceeds this floor,...
const DEFAULT_MAX_COMPRESSION_RATIO
@description Reject archives whose overall uncompressed/compressed ratio exceeds this value.
withZipOutputPath(string $zip_output_path)
const DEFAULT_MAX_UNCOMPRESSED_SIZE
@description Reject archives whose total uncompressed size exceeds this value.
const UNLIMITED
@description Disables a numeric limit (ratio, entry-count or size).
withMaxCompressionRatio(int $max_compression_ratio)
getRatioCheckMinUncompressedSize()
withRatioCheckMinUncompressedSize(int $ratio_check_min_uncompressed_size)
const DEFAULT_MAX_AMOUNT_OF_ENTRIES
@description Reject archives with more than this many entries (entry-count bomb).
withOverwrite(bool $overwrite)