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