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

Breadcrumb

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

class OneofField

Hierarchy

  • class \Google\Protobuf\Internal\OneofField

Expanded class hierarchy of OneofField

File

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

Namespace

Google\Protobuf\Internal
View source
class OneofField {
    private $desc;
    private $field_name;
    private $number = 0;
    private $value;
    public function __construct($desc) {
        $this->desc = $desc;
    }
    public function setValue($value) {
        $this->value = $value;
    }
    public function getValue() {
        return $this->value;
    }
    public function setFieldName($field_name) {
        $this->field_name = $field_name;
    }
    public function getFieldName() {
        return $this->field_name;
    }
    public function setNumber($number) {
        $this->number = $number;
    }
    public function getNumber() {
        return $this->number;
    }

}

Members

Title Sort descending Modifiers Object type Summary
OneofField::$desc private property
OneofField::$field_name private property
OneofField::$number private property
OneofField::$value private property
OneofField::getFieldName public function
OneofField::getNumber public function
OneofField::getValue public function
OneofField::setFieldName public function
OneofField::setNumber public function
OneofField::setValue public function
OneofField::__construct public function

API Navigation

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