Property | Type | Description | |
---|---|---|---|
$archive | Archive_Tar | Archive_Tar object | |
$compression | string | Archive compression | |
$path | string | Archive path |
Method | Description | |
---|---|---|
__construct ( |
Method to instantiate an archive adapter object | |
addFiles ( string | array $files ) : void | Method to create an archive file | |
archive ( ) : mixed | Method to return the archive object | |
extract ( string $to = null ) : void | Method to extract an archived and/or compressed file | |
listFiles ( boolean $full = false ) : array | Method to return a listing of the contents of an archived file |
public __construct ( |
||
$archive | ||
return |