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

Breadcrumb

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

function DescriptorPool::getGeneratedPool

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

Return value

DescriptorPool

1 call to DescriptorPool::getGeneratedPool()
ProtobufSerializer::postProcessJsonEnumValues in vendor/open-telemetry/exporter-otlp/ProtobufSerializer.php
Workaround until protobuf exposes `FormatEnumsAsIntegers` option.

File

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

Class

DescriptorPool

Namespace

Google\Protobuf

Code

public static function getGeneratedPool() {
    if (!isset(self::$pool)) {
        self::$pool = new DescriptorPool(\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool());
    }
    return self::$pool;
}

API Navigation

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