interface PropagationGetterInterface
Hierarchy
- interface \OpenTelemetry\Context\Propagation\PropagationGetterInterface
Expanded class hierarchy of PropagationGetterInterface
All classes that implement PropagationGetterInterface
See also
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6…
3 files declare their use of PropagationGetterInterface
- BaggagePropagator.php in vendor/
open-telemetry/ api/ Baggage/ Propagation/ BaggagePropagator.php - LateBindingTextMapPropagator.php in vendor/
open-telemetry/ sdk/ Propagation/ LateBindingTextMapPropagator.php - TraceContextPropagator.php in vendor/
open-telemetry/ api/ Trace/ Propagation/ TraceContextPropagator.php
File
-
vendor/
open-telemetry/ context/ Propagation/ PropagationGetterInterface.php, line 10
Namespace
OpenTelemetry\Context\PropagationView source
interface PropagationGetterInterface {
/**
* Returns the list of all the keys in the carrier.
*
* @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#keys
*
* @return list<string>
*/
public function keys($carrier) : array;
/**
* Gets the value of a given key from a carrier.
*/
public function get($carrier, string $key) : ?string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
PropagationGetterInterface::get | public | function | Gets the value of a given key from a carrier. | 2 |
PropagationGetterInterface::keys | public | function | Returns the list of all the keys in the carrier. | 2 |