Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PropagationGetterInterface.php

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\Propagation
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal