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

Breadcrumb

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

function GitHubDriver::getRootIdentifier

@inheritDoc

Overrides VcsDriverInterface::getRootIdentifier

File

vendor/composer/composer/src/Composer/Repository/Vcs/GitHubDriver.php, line 92

Class

GitHubDriver
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Repository\Vcs

Code

public function getRootIdentifier() : string {
    if ($this->gitDriver) {
        return $this->gitDriver
            ->getRootIdentifier();
    }
    return $this->rootIdentifier;
}
RSS feed
Powered by Drupal