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

Breadcrumb

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

function ListValue::__construct

Constructor.

Parameters

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

@type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $values Repeated field of dynamically typed values. }

Overrides Message::__construct

File

vendor/google/protobuf/src/Google/Protobuf/ListValue.php, line 36

Class

ListValue
`ListValue` is a wrapper around a repeated field of values. The JSON representation for `ListValue` is JSON array.

Namespace

Google\Protobuf

Code

public function __construct($data = NULL) {
    \GPBMetadata\Google\Protobuf\Struct::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