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

Breadcrumb

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

function DescriptorPool::getEnumDescriptorByClassName

Same name in this branch
  1. 11.1.x vendor/google/protobuf/src/Google/Protobuf/DescriptorPool.php \Google\Protobuf\DescriptorPool::getEnumDescriptorByClassName()

File

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

Class

DescriptorPool

Namespace

Google\Protobuf\Internal

Code

public function getEnumDescriptorByClassName($klass) {
    if (isset($this->class_to_enum_desc[$klass])) {
        return $this->class_to_enum_desc[$klass];
    }
    else {
        return null;
    }
}

API Navigation

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