*/ public static function tracerProvider(): ContextKeyInterface { static $instance; return $instance ??= Context::createKey(TracerProviderInterface::class); } /** * @return ContextKeyInterface */ public static function meterProvider(): ContextKeyInterface { static $instance; return $instance ??= Context::createKey(MeterProviderInterface::class); } /** * @return ContextKeyInterface */ public static function propagator(): ContextKeyInterface { static $instance; return $instance ??= Context::createKey(TextMapPropagatorInterface::class); } /** * @return ContextKeyInterface */ public static function loggerProvider(): ContextKeyInterface { static $instance; return $instance ??= Context::createKey(LoggerProviderInterface::class); } }