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

Breadcrumb

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

function TraceContextValidator::isValidTraceVersion

1 call to TraceContextValidator::isValidTraceVersion()
TraceContextPropagator::extractImpl in vendor/open-telemetry/api/Trace/Propagation/TraceContextPropagator.php

File

vendor/open-telemetry/api/Trace/Propagation/TraceContextValidator.php, line 14

Class

TraceContextValidator

Namespace

OpenTelemetry\API\Trace\Propagation

Code

public static function isValidTraceVersion(string $traceVersion) : bool {
    return 1 === preg_match(self::TRACE_VERSION_REGEX, $traceVersion);
}

API Navigation

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