API
Class

Elibyy\Zip\File

class File implements File

Class File this class is a wrapper for the file in archive

Methods

__construct(array|string $args, Adapter $adapter)

mixed getName()

mixed getExtension()

mixed getModifiedAt(null $format = null)

mixed getIndex()

mixed getSize()

mixed getCompressedSize()

mixed getCrc()

mixed getCompressionMethod()

mixed getStringCompressionMethod()

mixed setComment($comment $comment)

mixed getComment()

mixed getAdapter()

Details

at line 67
public __construct(array|string $args, Adapter $adapter)

Parameters

array|string $args
Adapter $adapter

at line 76
public mixed getName()

Return Value

mixed

at line 84
public mixed getExtension()

Return Value

mixed

at line 92
public mixed getModifiedAt(null $format = null)

Parameters

null $format

Return Value

mixed

at line 104
public mixed getIndex()

Return Value

mixed

at line 112
public mixed getSize()

Return Value

mixed

at line 120
public mixed getCompressedSize()

Return Value

mixed

at line 125
public mixed getCrc()

Return Value

mixed

at line 133
public mixed getCompressionMethod()

Return Value

mixed

at line 141
public mixed getStringCompressionMethod()

Return Value

mixed

at line 149
public mixed setComment($comment $comment)

Parameters

$comment $comment

Return Value

mixed

at line 157
public mixed getComment()

Return Value

mixed

at line 167
public mixed getAdapter()

Return Value

mixed