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

Breadcrumb

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

function VcsDriverInterface::hasComposerFile

Return true if the repository has a composer file for a given identifier, false otherwise.

Parameters

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

Return value

bool Whether the repository has a composer file for a given identifier.

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

File

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

Class

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

Namespace

Composer\Repository\Vcs

Code

public function hasComposerFile(string $identifier) : bool;
RSS feed
Powered by Drupal