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

Breadcrumb

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

function Configuration::getInt

5 calls to Configuration::getInt()
LogRecordLimitsBuilder::build in vendor/open-telemetry/sdk/Logs/LogRecordLimitsBuilder.php
LogsExporterFactory::getTimeout in vendor/open-telemetry/exporter-otlp/LogsExporterFactory.php
MetricExporterFactory::getTimeout in vendor/open-telemetry/exporter-otlp/MetricExporterFactory.php
SpanExporterFactory::getTimeout in vendor/open-telemetry/exporter-otlp/SpanExporterFactory.php
SpanLimitsBuilder::build in vendor/open-telemetry/sdk/Trace/SpanLimitsBuilder.php
@phan-suppress PhanDeprecatedClassConstant

File

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

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 getInt(string $key, ?int $default = null) : int {
    return (int) self::validateVariableValue(CompositeResolver::instance()->resolve(self::validateVariableType($key, VariableTypes::INTEGER), $default), FILTER_VALIDATE_INT);
}

API Navigation

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