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

Breadcrumb

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

function DescriptorPool::getDescriptorByProtoName

1 call to DescriptorPool::getDescriptorByProtoName()
DescriptorPool::crossLink in vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php

File

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

Class

DescriptorPool

Namespace

Google\Protobuf\Internal

Code

public function getDescriptorByProtoName($proto) {
    if (isset($this->proto_to_class[$proto])) {
        $klass = $this->proto_to_class[$proto];
        return $this->class_to_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