class AbstractArchiver implements ArchiverInterface

Class AbstractArchiver

Methods

__construct()

No description

string
getArchivePath()

Get archive path

$this
setArchivePath( string $archivePath)

Set archive path

$this
add( string $path, null|string $pathInArchive = null)

Add directory or file to archive

File
extract( string $toPath = null)

Extract archive

Details

at line 31
__construct()

at line 46
string getArchivePath()

Get archive path

Return Value

string

at line 51
$this setArchivePath( string $archivePath)

Set archive path

Parameters

string $archivePath

Return Value

$this Return $this, allow chaining

at line 58
$this add( string $path, null|string $pathInArchive = null)

Add directory or file to archive

Parameters

string $path
null|string $pathInArchive

Return Value

$this Return $this, allow chaining

at line 83
File extract( string $toPath = null)

Extract archive

Parameters

string $toPath Where to extract

Return Value

File