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

Breadcrumb

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

function PreReleaseSuffix::mapValueToScore

1 call to PreReleaseSuffix::mapValueToScore()
PreReleaseSuffix::parseValue in vendor/phar-io/version/src/PreReleaseSuffix.php

File

vendor/phar-io/version/src/PreReleaseSuffix.php, line 60

Class

PreReleaseSuffix

Namespace

PharIo\Version

Code

private function mapValueToScore(string $value) : int {
    $value = \strtolower($value);
    return self::valueScoreMap[$value];
}

API Navigation

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