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

Breadcrumb

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

function Configuration::getMap

2 calls to Configuration::getMap()
Environment::getResource in vendor/open-telemetry/sdk/Resource/Detectors/Environment.php
OtlpUtil::getHeaders in vendor/open-telemetry/exporter-otlp/OtlpUtil.php

File

vendor/open-telemetry/sdk/Common/Configuration/Configuration.php, line 81

Class

Configuration
Configuration can come from one or more of the following sources (from highest to lowest priority):

Namespace

OpenTelemetry\SDK\Common\Configuration

Code

public static function getMap(string $key, ?array $default = null) : array {
    return MapParser::parse(CompositeResolver::instance()->resolve(self::validateVariableType($key, VariableTypes::MAP), $default));
}

API Navigation

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