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

Breadcrumb

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

function LocalRootSpan::key

@internal

2 calls to LocalRootSpan::key()
LocalRootSpan::fromContext in vendor/open-telemetry/api/Trace/LocalRootSpan.php
Retrieve the local root span from a Context. @experimental
LocalRootSpan::store in vendor/open-telemetry/api/Trace/LocalRootSpan.php
@internal

File

vendor/open-telemetry/api/Trace/LocalRootSpan.php, line 47

Class

LocalRootSpan
@experimental

Namespace

OpenTelemetry\API\Trace

Code

public static function key() : ContextKeyInterface {
    static $key;
    return $key ??= Context::createKey(self::class);
}

API Navigation

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