Overrides ContextInterface::get
public function get(ContextKeyInterface $key) { if ($key === self::$spanContextKey) { /** @psalm-suppress InvalidReturnStatement */ return $this->span; } return $this->context[spl_object_id($key)] ?? null; }