ExtractableInterface

Archive class interface

since

1.0

Methods

extract

Extract a compressed file to a given path

extract(string $archive, string $destination) : boolean
since

1.0

throws

\RuntimeException

Arguments

$archive

stringPath to archive to extract

$destination

stringPath to extract archive to

Response

booleanTrue if successful

isSupported

Tests whether this adapter can unpack files on this computer.

isSupported() : boolean
static
since

1.0

Response

booleanTrue if supported