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

Breadcrumb

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

function SpanInterface::getCurrent

Returns the current {falling back on {

See also

SpanInterface} from the current {@see ContextInterface},

SpanInterface::getEmpty()} if there is no span in the current context.

1 method overrides SpanInterface::getCurrent()
Span::getCurrent in vendor/open-telemetry/api/Trace/Span.php
@inheritDoc

File

vendor/open-telemetry/api/Trace/SpanInterface.php, line 26

Class

SpanInterface

Namespace

OpenTelemetry\API\Trace

Code

public static function getCurrent() : SpanInterface;

API Navigation

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