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

Breadcrumb

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

function TraceStateInterface::get

Return the value of a given key from this TraceState if it exists

Return value

string|null

1 method overrides TraceStateInterface::get()
TraceState::get in vendor/open-telemetry/api/Trace/TraceState.php
Return the value of a given key from this TraceState if it exists

File

vendor/open-telemetry/api/Trace/TraceStateInterface.php, line 44

Class

TraceStateInterface
TraceState parses and stores the tracestate header as an immutable list of string key/value pairs. It provides the following operations following the rules described in the W3C Trace Context specification:

Namespace

OpenTelemetry\API\Trace

Code

public function get(string $key) : ?string;

API Navigation

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