Property | Type | Description | |
---|---|---|---|
$fileCount | integer | ||
$pathToZip | string | ||
$zipFile | ZipArchive |
Method | Description | |
---|---|---|
__construct ( string $pathToZip ) | ||
add ( string | array $files, string $nameInZip = null ) : |
||
close ( ) | ||
count ( ) : integer | ||
createForManifest ( |
||
humanReadableSize ( ) : string | ||
open ( ) | ||
path ( ) : string | ||
size ( ) : integer |
Method | Description | |
---|---|---|
determineNameOfFileInZip ( string $pathToFile, string $pathToZip ) |
public static createForManifest ( |
||
$manifest | ||
$pathToZip | string | |
return |
protected static determineNameOfFileInZip ( string $pathToFile, string $pathToZip ) | ||
$pathToFile | string | |
$pathToZip | string |