Nexus API Reference

CompositePropagator
in package
implements ContextPropagator

Read onlyYes
FinalYes
Tags
psalm-api

Runs several propagators in order. inject applies each; extract threads the accumulating context through each propagator so trace context and baggage end up on one Context.

Table of Contents

Interfaces

ContextPropagator

Methods

__construct()  : mixed
extract()  : Context
inject()  : void

Methods

extract()

public extract(array<string|int, mixed> $carrier[, Context|null $context = null ]) : Context
Parameters
$carrier : array<string|int, mixed>
$context : Context|null = null
Attributes
#[Override]
Return values
Context

inject()

public inject(Context $context, array<string|int, mixed> &$carrier) : void
Parameters
$context : Context
$carrier : array<string|int, mixed>
Attributes
#[Override]
On this page

Search results