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

Breadcrumb

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

function OneofDescriptorProto::__construct

Constructor.

Parameters

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

@type string $name @type \Google\Protobuf\Internal\OneofOptions $options }

Overrides Message::__construct

File

vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php, line 39

Class

OneofDescriptorProto
Describes a oneof.

Namespace

Google\Protobuf\Internal

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