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/Internal/DescriptorPool.php \Google\Protobuf\Internal\DescriptorPool::getEnumDescriptorByClassName()

Parameters

string $className A fully qualified protobuf class name:

Return value

EnumDescriptor

File

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

Class

DescriptorPool

Namespace

Google\Protobuf

Code

public function getEnumDescriptorByClassName($className) {
    $desc = $this->internal_pool
        ->getEnumDescriptorByClassName($className);
    return is_null($desc) ? null : $desc->getPublicDescriptor();
}

API Navigation

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