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

Breadcrumb

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

function VersionConstraintValue::extractBuildMetaData

1 call to VersionConstraintValue::extractBuildMetaData()
VersionConstraintValue::parseVersion in vendor/phar-io/version/src/VersionConstraintValue.php

File

vendor/phar-io/version/src/VersionConstraintValue.php, line 68

Class

VersionConstraintValue

Namespace

PharIo\Version

Code

private function extractBuildMetaData(string &$versionString) : void {
    if (\preg_match('/\\+(.*)/', $versionString, $matches) === 1) {
        $this->buildMetaData = $matches[1];
        $versionString = \str_replace($matches[0], '', $versionString);
    }
}

API Navigation

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