Documentation

BoolValue extends Message
in package

Wrapper message for `bool`.

The JSON representation for BoolValue is JSON true and false.

Generated from protobuf message google.protobuf.BoolValue

Table of Contents

Properties

$value  : mixed
The bool value.

Methods

__construct()  : mixed
Constructor.
getValue()  : bool
The bool value.
setValue()  : $this
The bool value.

Properties

$value

The bool value.

protected mixed $value = false

Generated from protobuf field bool value = 1;

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type bool $value
      The bool value.

}

getValue()

The bool value.

public getValue() : bool

Generated from protobuf field bool value = 1;

Return values
bool

setValue()

The bool value.

public setValue(bool $var) : $this

Generated from protobuf field bool value = 1;

Parameters
$var : bool
Return values
$this

        
On this page

Search results