\PhpZip\ModelImmutableZipContainer

Class ImmutableZipContainer.

Summary

Methods
Properties
Constants
__construct()
getEntries()
getArchiveComment()
count()
__clone()
No public properties found
No constants found
No protected methods found
$entries
$archiveComment
N/A
No private methods found
No private properties found
N/A

Properties

$entries

$entries : \PhpZip\Model\ZipEntry[]

Type

ZipEntry[]

$archiveComment

$archiveComment : string|null

Type

string|null — Archive comment

Methods

__construct()

__construct(\PhpZip\Model\ZipEntry[]  $entries, string|null  $archiveComment) : mixed

ZipContainer constructor.

Parameters

\PhpZip\Model\ZipEntry[] $entries
string|null $archiveComment

Returns

mixed —

getEntries()

& getEntries() : \PhpZip\Model\ZipEntry[]

Returns

\PhpZip\Model\ZipEntry[] —

getArchiveComment()

getArchiveComment() : string|null

Returns

string|null —

count()

count() : int

Count elements of an object.

Returns

int —

The custom count as an integer. The return value is cast to an integer.

__clone()

__clone() : mixed

When an object is cloned, PHP 5 will perform a shallow copy of all of the object's properties.

Any properties that are references to other variables, will remain references. Once the cloning is complete, if a __clone() method is defined, then the newly created object's __clone() method will be called, to allow any necessary properties that need to be changed. NOT CALLABLE DIRECTLY.

Returns

mixed —