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

Breadcrumb

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

function Int32Value::setValue

The int32 value.

Generated from protobuf field <code>int32 value = 1;</code>

Parameters

int $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Int32Value.php, line 59

Class

Int32Value
Wrapper message for `int32`. The JSON representation for `Int32Value` is JSON number.

Namespace

Google\Protobuf

Code

public function setValue($var) {
    GPBUtil::checkInt32($var);
    $this->value = $var;
    return $this;
}

API Navigation

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