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

Breadcrumb

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

function StringValue::__construct

Same name in this branch
  1. 11.1.x vendor/phpdocumentor/type-resolver/src/PseudoTypes/StringValue.php \phpDocumentor\Reflection\PseudoTypes\StringValue::__construct()

Constructor.

Parameters

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

@type string $value The string value. }

Overrides Message::__construct

File

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

Class

StringValue
Wrapper message for `string`. The JSON representation for `StringValue` is JSON string.

Namespace

Google\Protobuf

Code

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