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

Breadcrumb

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

function DescriptorPool::addEnumDescriptor

2 calls to DescriptorPool::addEnumDescriptor()
DescriptorPool::addDescriptor in vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php
DescriptorPool::internalAddGeneratedFile in vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php

File

vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php, line 85

Class

DescriptorPool

Namespace

Google\Protobuf\Internal

Code

public function addEnumDescriptor($descriptor) {
    $this->proto_to_class[$descriptor->getFullName()] = $descriptor->getClass();
    $this->class_to_enum_desc[$descriptor->getClass()] = $descriptor;
    $this->class_to_enum_desc[$descriptor->getLegacyClass()] = $descriptor;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal