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

Breadcrumb

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

function VcsDriver::hasComposerFile

@inheritDoc

Overrides VcsDriverInterface::hasComposerFile

1 method overrides VcsDriver::hasComposerFile()
PerforceDriver::hasComposerFile in vendor/composer/composer/src/Composer/Repository/Vcs/PerforceDriver.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriver.php, line 133

Class

VcsDriver
A driver implementation for driver with authentication interaction.

Namespace

Composer\Repository\Vcs

Code

public function hasComposerFile(string $identifier) : bool {
    try {
        return null !== $this->getComposerInformation($identifier);
    } catch (TransportException $e) {
    }
    return false;
}
RSS feed
Powered by Drupal