OpenTelemetry PHP

ExtendedPropagationGetterInterface extends PropagationGetterInterface

Interface for getting values from a carrier.

This interface extends the base PropagationGetterInterface to avoid breaking changes.

Table of Contents

Methods

get()  : string|null
Gets the value of a given key from a carrier.
getAll()  : array<int, string>
Gets all values of a given key from a carrier.
keys()  : array<int, string>
Returns the list of all the keys in the carrier.

Methods

get()

Gets the value of a given key from a carrier.

public get(mixed $carrier, string $key) : string|null
Parameters
$carrier : mixed
$key : string
Return values
string|null

        
On this page

Search results