Context
in package
Read onlyYes
FinalYes
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- fromSpanContext() : self
- root() : self
- The empty root context (no valid span, no baggage).
- withBaggage() : self
- withSpanContext() : self
Properties
$baggage
public
Baggage
$baggage
$spanContext
public
SpanContext
$spanContext
Methods
__construct()
public
__construct(SpanContext $spanContext, Baggage $baggage) : mixed
Parameters
- $spanContext : SpanContext
- $baggage : Baggage
fromSpanContext()
public
static fromSpanContext(SpanContext $spanContext) : self
Parameters
- $spanContext : SpanContext
Return values
selfroot()
The empty root context (no valid span, no baggage).
public
static root() : self
Return values
selfwithBaggage()
public
withBaggage(Baggage $baggage) : self
Parameters
- $baggage : Baggage
Return values
selfwithSpanContext()
public
withSpanContext(SpanContext $spanContext) : self
Parameters
- $spanContext : SpanContext