\Pop\Archive\AdapterArchiveInterface

Archive adapter interface

Summary

Methods
Constants
__construct()
archive()
extract()
addFiles()
listFiles()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

archive()

archive() : mixed

Return the archive object

Returns

mixed

extract()

extract(string  $to = null) : void

Extract an archived and/or compressed file

Parameters

string $to

addFiles()

addFiles(string|array  $files) : void

Create an archive file

Parameters

string|array $files

listFiles()

listFiles(boolean  $full = false) : array

Return a listing of the contents of an archived file

Parameters

boolean $full

Returns

array