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

Breadcrumb

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

function ComposerMirror::processHgUrl

Parameters

non-empty-string $mirrorUrl:

Return value

string

1 call to ComposerMirror::processHgUrl()
Package::getUrls in vendor/composer/composer/src/Composer/Package/Package.php
@phpstan-param list<array{url: non-empty-string, preferred: bool}>|null $mirrors

File

vendor/composer/composer/src/Composer/Util/ComposerMirror.php, line 73

Class

ComposerMirror
Composer mirror utilities

Namespace

Composer\Util

Code

public static function processHgUrl(string $mirrorUrl, string $packageName, string $url, string $type) : string {
    return self::processGitUrl($mirrorUrl, $packageName, $url, $type);
}
RSS feed
Powered by Drupal