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

Breadcrumb

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

function Annotation::__construct

Same name in this branch
  1. 11.1.x vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php \Doctrine\Common\Annotations\Annotation::__construct()
  2. 11.1.x vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/Annotation.php \SlevomatCodingStandard\Helpers\Annotation::__construct()

Constructor.

Parameters

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

@type array<int>|\Google\Protobuf\Internal\RepeatedField $path Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path. @type string $source_file Identifies the filesystem path to the original source .proto. @type int $begin Identifies the starting offset in bytes in the generated code that relates to the identified object. @type int $end Identifies the ending offset in bytes in the generated code that relates to the identified object. The end offset should be one past the last relevant byte (so the length of the text = end - begin). @type int $semantic }

Overrides Message::__construct

File

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

Class

Annotation
Generated from protobuf message <code>google.protobuf.GeneratedCodeInfo.Annotation</code>

Namespace

Google\Protobuf\Internal\GeneratedCodeInfo

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