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

Breadcrumb

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

class ContextKeys

Same name in this branch
  1. 11.1.x vendor/open-telemetry/api/Instrumentation/ContextKeys.php \OpenTelemetry\API\Instrumentation\ContextKeys

@psalm-internal OpenTelemetry

Hierarchy

  • class \OpenTelemetry\Context\ContextKeys

Expanded class hierarchy of ContextKeys

2 files declare their use of ContextKeys
Baggage.php in vendor/open-telemetry/api/Baggage/Baggage.php
Span.php in vendor/open-telemetry/api/Trace/Span.php

File

vendor/open-telemetry/context/ContextKeys.php, line 10

Namespace

OpenTelemetry\Context
View source
final class ContextKeys {
    public static function span() : ContextKeyInterface {
        static $instance;
        return $instance ??= Context::createKey('opentelemetry-trace-span-key');
    }
    public static function baggage() : ContextKeyInterface {
        static $instance;
        return $instance ??= Context::createKey('opentelemetry-trace-baggage-key');
    }

}

Members

Title Sort descending Modifiers Object type Summary
ContextKeys::baggage public static function
ContextKeys::span public static function

API Navigation

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