API
Class

Elibyy\Phar\File

class File implements File

Class File

Methods

__construct(PharFileInfo $file, 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 35
public __construct(PharFileInfo $file, Adapter $adapter)

Parameters

PharFileInfo $file
Adapter $adapter

at line 44
public mixed getName()

Return Value

mixed

at line 52
public mixed getExtension()

Return Value

mixed

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

Parameters

null $format

Return Value

mixed

at line 71
public mixed getIndex()

Return Value

mixed

at line 79
public mixed getSize()

Return Value

mixed

at line 87
public mixed getCompressedSize()

Return Value

mixed

at line 95
public mixed getCrc()

Return Value

mixed

at line 103
public mixed getCompressionMethod()

Return Value

mixed

at line 111
public mixed getStringCompressionMethod()

Return Value

mixed

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

Parameters

$comment $comment

Return Value

mixed

at line 127
public mixed getComment()

Return Value

mixed

at line 135
public mixed getAdapter()

Return Value

mixed