Documentation

Scalar extends Message
in package

Scalar is a Scalar expression.

Generated from protobuf message exprml.v1.Scalar

Table of Contents

Methods

__construct()  : mixed
Constructor.
clearScalar()  : mixed
getScalar()  : Value|null
Scalar is a scalar value.
hasScalar()  : mixed
setScalar()  : $this
Scalar is a scalar value.

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 \Exprml\PB\Exprml\V1\Value $scalar
      Scalar is a scalar value.

}

clearScalar()

public clearScalar() : mixed

getScalar()

Scalar is a scalar value.

public getScalar() : Value|null

Generated from protobuf field .exprml.v1.Value scalar = 1 [json_name = "scalar"];

Return values
Value|null

hasScalar()

public hasScalar() : mixed

setScalar()

Scalar is a scalar value.

public setScalar(Value $var) : $this

Generated from protobuf field .exprml.v1.Value scalar = 1 [json_name = "scalar"];

Parameters
$var : Value
Return values
$this

        
On this page

Search results