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

Breadcrumb

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

function VcsDriverInterface::getDist

Parameters

string $identifier Any identifier to a specific branch/tag/commit:

Return value

array{type: string, url: string, reference: string, shasum: string}|null

8 methods override VcsDriverInterface::getDist()
FossilDriver::getDist in vendor/composer/composer/src/Composer/Repository/Vcs/FossilDriver.php
@inheritDoc
GitBitbucketDriver::getDist in vendor/composer/composer/src/Composer/Repository/Vcs/GitBitbucketDriver.php
@inheritDoc
GitDriver::getDist in vendor/composer/composer/src/Composer/Repository/Vcs/GitDriver.php
@inheritDoc
GitHubDriver::getDist in vendor/composer/composer/src/Composer/Repository/Vcs/GitHubDriver.php
@inheritDoc
GitLabDriver::getDist in vendor/composer/composer/src/Composer/Repository/Vcs/GitLabDriver.php
@inheritDoc

... See full list

File

vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriverInterface.php, line 73

Class

VcsDriverInterface
@author Jordi Boggiano <j.boggiano@seld.be> @internal

Namespace

Composer\Repository\Vcs

Code

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