Nexus API Reference

Context
in package

Read onlyYes
FinalYes
Tags
psalm-api
psalm-immutable

Minimal propagation context: the active SpanContext plus Baggage.

Table of Contents

Properties

$baggage  : Baggage
$spanContext  : SpanContext

Methods

__construct()  : mixed
fromSpanContext()  : self
root()  : self
The empty root context (no valid span, no baggage).
withBaggage()  : self
withSpanContext()  : self

Properties

Methods

root()

The empty root context (no valid span, no baggage).

public static root() : self
Return values
self

withBaggage()

public withBaggage(Baggage $baggage) : self
Parameters
$baggage : Baggage
Return values
self

        
On this page

Search results