function AnyValue::setDoubleValue
Generated from protobuf field <code>double double_value = 4;</code>
Parameters
float $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Common/ V1/ AnyValue.php, line 142
Class
- AnyValue
- AnyValue is used to represent any type of attribute value. AnyValue may contain a primitive value such as a string or integer or it may contain an arbitrary nested object containing arrays, key-value lists and primitives.
Namespace
Opentelemetry\Proto\Common\V1Code
public function setDoubleValue($var) {
GPBUtil::checkDouble($var);
$this->writeOneof(4, $var);
return $this;
}