function VcsDriverInterface::getComposerInformation
Return the composer.json file information
Parameters
string $identifier Any identifier to a specific branch/tag/commit:
Return value
mixed[]|null Array containing all infos from the composer.json file, or null to denote that no file was present
1 method overrides VcsDriverInterface::getComposerInformation()
- VcsDriver::getComposerInformation in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ VcsDriver.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ VcsDriverInterface.php, line 35
Class
- VcsDriverInterface
- @author Jordi Boggiano <j.boggiano@seld.be> @internal
Namespace
Composer\Repository\VcsCode
public function getComposerInformation(string $identifier) : ?array;