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

Breadcrumb

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

class EnumValueDescriptor

Hierarchy

  • class \Google\Protobuf\EnumValueDescriptor

Expanded class hierarchy of EnumValueDescriptor

2 files declare their use of EnumValueDescriptor
EnumBuilderContext.php in vendor/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php
EnumDescriptor.php in vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php

File

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

Namespace

Google\Protobuf
View source
class EnumValueDescriptor {
    private $name;
    private $number;
    
    /**
     * @internal
     */
    public function __construct($name, $number) {
        $this->name = $name;
        $this->number = $number;
    }
    
    /**
     * @return string
     */
    public function getName() {
        return $this->name;
    }
    
    /**
     * @return int
     */
    public function getNumber() {
        return $this->number;
    }

}

Members

Title Sort descending Modifiers Object type Summary
EnumValueDescriptor::$name private property
EnumValueDescriptor::$number private property
EnumValueDescriptor::getName public function
EnumValueDescriptor::getNumber public function
EnumValueDescriptor::__construct public function @internal

API Navigation

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