function ArchiverInterface::supports
Format supported by the archiver.
Parameters
string $format The archive format:
?string $sourceType The source type (git, svn, hg, etc.):
Return value
bool true if the format is supported by the archiver
2 methods override ArchiverInterface::supports()
- PharArchiver::supports in vendor/
composer/ composer/ src/ Composer/ Package/ Archiver/ PharArchiver.php - @inheritDoc
- ZipArchiver::supports in vendor/
composer/ composer/ src/ Composer/ Package/ Archiver/ ZipArchiver.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ Package/ Archiver/ ArchiverInterface.php, line 43
Class
- ArchiverInterface
- @author Till Klampaeckel <till@php.net> @author Matthieu Moquet <matthieu@moquet.net> @author Nils Adermann <naderman@naderman.de>
Namespace
Composer\Package\ArchiverCode
public function supports(string $format, ?string $sourceType) : bool;