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

Breadcrumb

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

function BytesValue::setValue

The bytes value.

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

Parameters

string $var:

Return value

$this

File

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

Class

BytesValue
Wrapper message for `bytes`. The JSON representation for `BytesValue` is JSON string.

Namespace

Google\Protobuf

Code

public function setValue($var) {
    GPBUtil::checkString($var, False);
    $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