function VcsDriverInterface::hasComposerFile
Return true if the repository has a composer file for a given identifier, false otherwise.
Parameters
string $identifier Any identifier to a specific branch/tag/commit:
Return value
bool Whether the repository has a composer file for a given identifier.
1 method overrides VcsDriverInterface::hasComposerFile()
- VcsDriver::hasComposerFile in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ VcsDriver.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ VcsDriverInterface.php, line 94
Class
- VcsDriverInterface
- @author Jordi Boggiano <j.boggiano@seld.be> @internal
Namespace
Composer\Repository\VcsCode
public function hasComposerFile(string $identifier) : bool;