interface ArchiveInterface implements IteratorAggregate, Countable
Methods
ArchiveInterface |
addMembers(String|Array|SplFileInfo $sources, Boolean $recursive = true)
Adds a file or a folder into the archive |
|
ArchiveInterface |
removeMembers(String|Array $sources)
Removes a file from the archive |
|
Array |
getMembers()
Lists files and directories archive members |
|
ArchiveInterface |
extract(String $toDirectory)
Extracts current archive to the given directory |
|
ArchiveInterface |
extractMembers(String|Array $members, string $toDirectory = null)
Extracts specific members from the archive |
Details
at line 30
public ArchiveInterface
addMembers(String|Array|SplFileInfo $sources, Boolean $recursive = true)
Adds a file or a folder into the archive
at line 41
public ArchiveInterface
removeMembers(String|Array $sources)
Removes a file from the archive
at line 50
public Array
getMembers()
Lists files and directories archive members
at line 61
public ArchiveInterface
extract(String $toDirectory)
Extracts current archive to the given directory
at line 73
public ArchiveInterface
extractMembers(String|Array $members, string $toDirectory = null)
Extracts specific members from the archive