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

Breadcrumb

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

function Int64Value::setValue

The int64 value.

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

Parameters

int|string $var:

Return value

$this

File

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

Class

Int64Value
Wrapper message for `int64`. The JSON representation for `Int64Value` is JSON string.

Namespace

Google\Protobuf

Code

public function setValue($var) {
    GPBUtil::checkInt64($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