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

Breadcrumb

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

function MultiTextMapPropagator::extractFields

Parameters

list<TextMapPropagatorInterface> $propagators:

Return value

list<string>

1 call to MultiTextMapPropagator::extractFields()
MultiTextMapPropagator::__construct in vendor/open-telemetry/context/Propagation/MultiTextMapPropagator.php
@no-named-arguments

File

vendor/open-telemetry/context/Propagation/MultiTextMapPropagator.php, line 57

Class

MultiTextMapPropagator

Namespace

OpenTelemetry\Context\Propagation

Code

private function extractFields(array $propagators) : array {
    return array_values(array_unique(array_merge(...array_map(static fn(TextMapPropagatorInterface $propagator) => $propagator->fields(), $propagators))));
}

API Navigation

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