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

Breadcrumb

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

function BaggageInterface::fromContext

Returns the {falling back on {

See also

API\BaggageInterface} from the provided *$context*,

API\BaggageInterface::getEmpty()} if there is no baggage in the provided context.

1 method overrides BaggageInterface::fromContext()
Baggage::fromContext in vendor/open-telemetry/api/Baggage/Baggage.php
@inheritDoc

File

vendor/open-telemetry/api/Baggage/BaggageInterface.php, line 20

Class

BaggageInterface

Namespace

OpenTelemetry\API\Baggage

Code

public static function fromContext(ContextInterface $context) : API\BaggageInterface;

API Navigation

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