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

Breadcrumb

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

function Event::setTimeUnixNano

time_unix_nano is the time the event occurred.

Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>

Parameters

int|string $var:

Return value

$this

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php, line 91

Class

Event
Event is a time-stamped annotation of the span, consisting of user-supplied text description and key-value pairs.

Namespace

Opentelemetry\Proto\Trace\V1\Span

Code

public function setTimeUnixNano($var) {
    GPBUtil::checkUint64($var);
    $this->time_unix_nano = $var;
    return $this;
}

API Navigation

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