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

Breadcrumb

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

function GeneratedCodeInfo::__construct

Constructor.

Parameters

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

@type array<\Google\Protobuf\Internal\GeneratedCodeInfo\Annotation>|\Google\Protobuf\Internal\RepeatedField $annotation An Annotation connects some span of text in generated code to an element of its generating .proto file. }

Overrides Message::__construct

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php, line 41

Class

GeneratedCodeInfo
Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.

Namespace

Google\Protobuf\Internal

Code

public function __construct($data = NULL) {
    \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
    parent::__construct($data);
}
RSS feed
Powered by Drupal