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

Breadcrumb

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

function NamePart::__construct

Constructor.

Parameters

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

@type string $name_part @type bool $is_extension }

Overrides Message::__construct

File

vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php, line 43

Class

NamePart
The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ ["foo", false],…

Namespace

Google\Protobuf\Internal\UninterpretedOption

Code

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