function ContextKeys::tracerProvider
Return value
ContextKeyInterface<TracerProviderInterface>
3 calls to ContextKeys::tracerProvider()
- 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::tracerProvider in vendor/
open-telemetry/ api/ Globals.php
File
-
vendor/
open-telemetry/ api/ Instrumentation/ ContextKeys.php, line 23
Class
- ContextKeys
- @internal
Namespace
OpenTelemetry\API\InstrumentationCode
public static function tracerProvider() : ContextKeyInterface {
static $instance;
return $instance ??= Context::createKey(TracerProviderInterface::class);
}