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

Breadcrumb

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

function SdkAutoloader::createLateBindingTextMapPropagator

1 call to SdkAutoloader::createLateBindingTextMapPropagator()
SdkAutoloader::registerInstrumentations in vendor/open-telemetry/sdk/SdkAutoloader.php
Register all {@link Instrumentation} configured through SPI @psalm-suppress ArgumentTypeCoercion

File

vendor/open-telemetry/sdk/SdkAutoloader.php, line 210

Class

SdkAutoloader
@psalm-suppress RedundantCast

Namespace

OpenTelemetry\SDK

Code

private static function createLateBindingTextMapPropagator() : TextMapPropagatorInterface {
    return new LateBindingTextMapPropagator(static function () : TextMapPropagatorInterface {
        $scope = Context::getRoot()->activate();
        try {
            return Globals::propagator();
        } finally {
            $scope->detach();
        }
    });
}

API Navigation

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