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

Breadcrumb

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

function AnyValue::__construct

Constructor.

Parameters

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

@type string $string_value @type bool $bool_value @type int|string $int_value @type float $double_value @type \Opentelemetry\Proto\Common\V1\ArrayValue $array_value @type \Opentelemetry\Proto\Common\V1\KeyValueList $kvlist_value @type string $bytes_value }

Overrides Message::__construct

File

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

Class

AnyValue
AnyValue is used to represent any type of attribute value. AnyValue may contain a primitive value such as a string or integer or it may contain an arbitrary nested object containing arrays, key-value lists and primitives.

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