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

Breadcrumb

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

function Event::getName

Same name in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Trace/Event.php \OpenTelemetry\SDK\Trace\Event::getName()
  2. 11.1.x vendor/composer/composer/src/Composer/EventDispatcher/Event.php \Composer\EventDispatcher\Event::getName()

name of the event. This field is semantically required to be set to non-empty string.

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

Return value

string

File

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

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 getName() {
    return $this->name;
}

API Navigation

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