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

Breadcrumb

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

function Baggage::getEmpty

@inheritDoc

Overrides BaggageInterface::getEmpty

1 call to Baggage::getEmpty()
Baggage::fromContext in vendor/open-telemetry/api/Baggage/Baggage.php
@inheritDoc

File

vendor/open-telemetry/api/Baggage/Baggage.php, line 35

Class

Baggage

Namespace

OpenTelemetry\API\Baggage

Code

public static function getEmpty() : BaggageInterface {
    if (null === self::$emptyBaggage) {
        self::$emptyBaggage = new self();
    }
    return self::$emptyBaggage;
}

API Navigation

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