ttrss/vendor/open-telemetry/context/ContextKey.php

24 lines
344 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?php
declare(strict_types=1);
namespace OpenTelemetry\Context;
/**
* @internal
*/
final class ContextKey implements ContextKeyInterface
{
private ?string $name;
public function __construct(?string $name=null)
{
$this->name = $name;
}
public function name(): ?string
{
return $this->name;
}
}