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

Breadcrumb

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

function InstrumentationScope::setVersion

Generated from protobuf field <code>string version = 2;</code>

Parameters

string $var:

Return value

$this

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php, line 103

Class

InstrumentationScope
InstrumentationScope is a message representing the instrumentation scope information such as the fully qualified name and version.

Namespace

Opentelemetry\Proto\Common\V1

Code

public function setVersion($var) {
    GPBUtil::checkString($var, True);
    $this->version = $var;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal