Metadata.php
Same filename in this branch
Namespace
OpenTelemetry\API\BaggageFile
-
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 |