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

Breadcrumb

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

function Git::getGitLabDomainsRegex

Return value

non-empty-string

1 call to Git::getGitLabDomainsRegex()
Git::runCommand in vendor/composer/composer/src/Composer/Util/Git.php

File

vendor/composer/composer/src/Composer/Util/Git.php, line 568

Class

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

Namespace

Composer\Util

Code

public static function getGitLabDomainsRegex(Config $config) : string {
    return '(' . implode('|', array_map('preg_quote', $config->get('gitlab-domains'))) . ')';
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal