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

Breadcrumb

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

function StringKeyValue::__construct

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type string $key @type string $value }

Overrides Message::__construct

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php, line 38

Class

StringKeyValue
StringKeyValue is a pair of key/value strings. This is the simpler (and faster) version of KeyValue that only supports string values.

Namespace

Opentelemetry\Proto\Common\V1

Code

public function __construct($data = NULL) {
    \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
    parent::__construct($data);
}

API Navigation

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