\PhpZip\ConstantsZipCompressionMethod

Class ZipCompressionMethod.

Summary

Methods
Properties
Constants
getCompressionMethodName()
getSupportMethods()
checkSupport()
No public properties found
STORED
DEFLATED
BZIP2
WINZIP_AES
No protected methods found
No protected properties found
N/A
No private methods found
$ZIP_COMPRESSION_METHODS
N/A

Constants

STORED

STORED = 0 : int

DEFLATED

DEFLATED = 8 : int

BZIP2

BZIP2 = 12 : int

WINZIP_AES

WINZIP_AES = 99 : int

Properties

$ZIP_COMPRESSION_METHODS

$ZIP_COMPRESSION_METHODS : array

Type

array — Compression Methods

Methods

getCompressionMethodName()

getCompressionMethodName(int  $value) : string

Parameters

int $value

Returns

string —

getSupportMethods()

getSupportMethods() : int[]

Returns

int[] —

checkSupport()

checkSupport(int  $compressionMethod) : mixed

Parameters

int $compressionMethod

Throws

\PhpZip\Exception\ZipUnsupportMethodException

Returns

mixed —