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

Breadcrumb

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

trait GetPublicDescriptorTrait

Hierarchy

  • trait \Google\Protobuf\Internal\GetPublicDescriptorTrait
3 files declare their use of GetPublicDescriptorTrait
Descriptor.php in vendor/google/protobuf/src/Google/Protobuf/Descriptor.php
FieldDescriptor.php in vendor/google/protobuf/src/Google/Protobuf/FieldDescriptor.php
OneofDescriptor.php in vendor/google/protobuf/src/Google/Protobuf/OneofDescriptor.php

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php, line 12

Namespace

Google\Protobuf\Internal
View source
trait GetPublicDescriptorTrait {
    private function getPublicDescriptor($desc) {
        return is_null($desc) ? null : $desc->getPublicDescriptor();
    }

}

Members

Title Sort descending Modifiers Object type Summary
GetPublicDescriptorTrait::getPublicDescriptor private function

API Navigation

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