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

Breadcrumb

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

function SpanInterface::fromContext

Returns the {falling back on {

See also

SpanInterface} from the provided *$context*,

SpanInterface::getInvalid()} if there is no span in the provided context.

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

File

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

Class

SpanInterface

Namespace

OpenTelemetry\API\Trace

Code

public static function fromContext(ContextInterface $context) : SpanInterface;

API Navigation

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