\PhpZip\ModelEndOfCentralDirectory

End of Central Directory.

Summary

Methods
Properties
Constants
__construct()
setComment()
getEntryCount()
getCdOffset()
getCdSize()
getComment()
isZip64()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$entryCount
$cdOffset
$cdSize
$comment
$zip64
N/A

Properties

$entryCount

$entryCount : int

Type

int — Count files.

$cdOffset

$cdOffset : int

Type

int — Central Directory Offset.

$cdSize

$cdSize : int

Type

int

$comment

$comment : string|null

Type

string|null — The archive comment.

$zip64

$zip64 : bool

Type

bool — Zip64 extension

Methods

__construct()

__construct(int  $entryCount, int  $cdOffset, int  $cdSize, bool  $zip64, string|null  $comment = null) : mixed

EndOfCentralDirectory constructor.

Parameters

int $entryCount
int $cdOffset
int $cdSize
bool $zip64
string|null $comment

Returns

mixed —

setComment()

setComment(string|null  $comment) : mixed

Parameters

string|null $comment

Returns

mixed —

getEntryCount()

getEntryCount() : int

Returns

int —

getCdOffset()

getCdOffset() : int

Returns

int —

getCdSize()

getCdSize() : int

Returns

int —

getComment()

getComment() : string|null

Returns

string|null —

isZip64()

isZip64() : bool

Returns

bool —