Data transfer object holding data associated with a given span.
Interface for classes to serialize and deserialize SpanContexts to and from implementation-specific a...
inject(?SpanContext $spanContext, array $carrier)
Inject the given SpanContext into the given carrier.
extract(array $carrier)
Attempt to extract a SpanContext from the given carrier.