interface MemberInterface
Methods
String |
getLocation()
Gets the location of an archive member |
|
Boolean |
isDir()
Tells whether the member is a directory or not |
|
getLastModifiedDate() | ||
Integer |
getSize()
Returns the (uncompressed) size of the member |
|
SplFileInfo |
extract(String|null $to = null)
Extract the member from its archive |
|
__toString() |
Details
at line 21
public String
getLocation()
Gets the location of an archive member
at line 28
public Boolean
isDir()
Tells whether the member is a directory or not
at line 35
public
getLastModifiedDate()
at line 44
public Integer
getSize()
Returns the (uncompressed) size of the member
If the size is unknown, returns -1
at line 60
public SplFileInfo
extract(String|null $to = null)
Extract the member from its archive
Be carefull using this method within a loop
This will execute one extraction process for each file
Prefer the use of ArchiveInterface::extractMembers in that use case