PHP Интерфейс Pop\Archive\Adapter\ArchiveInterface

Автор: Nick Sagona, III ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Archive $archive ) : Pop\Archive\Adapter\ArchiveInterface 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

Описание методов

__construct() публичный Метод

Method to instantiate an archive adapter object
public __construct ( Archive $archive ) : Pop\Archive\Adapter\ArchiveInterface
$archive Pop\Archive\Archive
Результат Pop\Archive\Adapter\ArchiveInterface

addFiles() публичный Метод

Method to create an archive file
public addFiles ( string | array $files ) : void
$files string | array
Результат void

archive() публичный Метод

Method to return the archive object
public archive ( ) : mixed
Результат mixed

extract() публичный Метод

Method to extract an archived and/or compressed file
public extract ( string $to = null ) : void
$to string
Результат void

listFiles() публичный Метод

Method to return a listing of the contents of an archived file
public listFiles ( boolean $full = false ) : array
$full boolean
Результат array