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

Breadcrumb

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

function Span::activate

@inheritDoc

Overrides ImplicitContextKeyedInterface::activate

File

vendor/open-telemetry/api/Trace/Span.php, line 49

Class

Span

Namespace

OpenTelemetry\API\Trace

Code

public final function activate() : ScopeInterface {
    return Context::getCurrent()->withContextValue($this)
        ->activate();
}

API Navigation

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