Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. VcsDriverInterface.php

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\Vcs

Code

public function getComposerInformation(string $identifier) : ?array;
RSS feed
Powered by Drupal