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

Breadcrumb

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

function LateBindingTextMapPropagator::extract

Overrides TextMapPropagatorInterface::extract

File

vendor/open-telemetry/sdk/Propagation/LateBindingTextMapPropagator.php, line 45

Class

LateBindingTextMapPropagator
@internal

Namespace

OpenTelemetry\SDK\Propagation

Code

public function extract($carrier, ?PropagationGetterInterface $getter = null, ?ContextInterface $context = null) : ContextInterface {
    if (!$this->propagator instanceof TextMapPropagatorInterface) {
        $this->propagator = ($this->propagator)();
    }
    return $this->propagator
        ->extract($carrier, $getter, $context);
}

API Navigation

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