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\SDKCode
private static function createLateBindingTextMapPropagator() : TextMapPropagatorInterface {
return new LateBindingTextMapPropagator(static function () : TextMapPropagatorInterface {
$scope = Context::getRoot()->activate();
try {
return Globals::propagator();
} finally {
$scope->detach();
}
});
}