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

Breadcrumb

  1. Drupal Core 11.1.x

Metadata.php

Same filename in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Metadata/Metadata.php

Namespace

OpenTelemetry\API\Baggage

File

vendor/open-telemetry/api/Baggage/Metadata.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Baggage;

final class Metadata implements MetadataInterface {
    private static ?self $instance = null;
    public static function getEmpty() : Metadata {
        return self::$instance ??= new self('');
    }
    public function __construct(string $metadata) {
    }
    public function getValue() : string {
        return $this->metadata;
    }

}

Classes

Title Deprecated Summary
Metadata

API Navigation

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