function ContextKeys::propagator
Return value
ContextKeyInterface<TextMapPropagatorInterface>
3 calls to ContextKeys::propagator()
- Configurator::storeInContext in vendor/
open-telemetry/ api/ Instrumentation/ Configurator.php - Returns a new {
- Globals::globals in vendor/
open-telemetry/ api/ Globals.php - @phan-suppress PhanTypeMismatchReturnNullable
- Globals::propagator in vendor/
open-telemetry/ api/ Globals.php
File
-
vendor/
open-telemetry/ api/ Instrumentation/ ContextKeys.php, line 43
Class
- ContextKeys
- @internal
Namespace
OpenTelemetry\API\InstrumentationCode
public static function propagator() : ContextKeyInterface {
static $instance;
return $instance ??= Context::createKey(TextMapPropagatorInterface::class);
}