\Composer\Package\ArchiverZipArchiver

Summary

Methods
Properties
Constants
archive()
supports()
No public properties found
No constants found
No protected methods found
$formats
N/A
compressionAvailable()
No private properties found
N/A

Properties

$formats

$formats : 

Type

Methods

archive()

archive(string  $sources, string  $target, string  $format, array  $excludes = array(),   $ignoreFilters = false) : string

Create an archive from the sources.

Parameters

string $sources

The sources directory

string $target

The target file

string $format

The format used for archive

array $excludes

A list of patterns for files to exclude

$ignoreFilters

Returns

string —

The path to the written archive file

supports()

supports(string  $format, string  $sourceType) : boolean

Format supported by the archiver.

Parameters

string $format

The archive format

string $sourceType

The source type (git, svn, hg, etc.)

Returns

boolean —

true if the format is supported by the archiver

compressionAvailable()

compressionAvailable()