class Metadata
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Metadata/Metadata.php \PHPUnit\Metadata\Metadata
Hierarchy
- class \OpenTelemetry\API\Baggage\Metadata implements \OpenTelemetry\API\Baggage\MetadataInterface
Expanded class hierarchy of Metadata
1 file declares its use of Metadata
- Parser.php in vendor/
open-telemetry/ api/ Baggage/ Propagation/ Parser.php
3 string references to 'Metadata'
- ComposerRepository::asyncFetchFile in vendor/
composer/ composer/ src/ Composer/ Repository/ ComposerRepository.php - @phpstan-return PromiseInterface<array<mixed>|true> true if the response was a 304 and the cache is fresh, otherwise it returns the decoded json
- ComposerRepository::fetchFile in vendor/
composer/ composer/ src/ Composer/ Repository/ ComposerRepository.php - ComposerRepository::fetchFileIfLastModified in vendor/
composer/ composer/ src/ Composer/ Repository/ ComposerRepository.php
File
-
vendor/
open-telemetry/ api/ Baggage/ Metadata.php, line 7
Namespace
OpenTelemetry\API\BaggageView source
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;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
Metadata::$instance | private static | property | ||
Metadata::getEmpty | public static | function | ||
Metadata::getValue | public | function | Overrides MetadataInterface::getValue | |
Metadata::__construct | public | function |