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

Breadcrumb

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

class Event

Same name in this branch
  1. 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php \Opentelemetry\Proto\Trace\V1\Span\Event
  2. 11.1.x vendor/composer/composer/src/Composer/Script/Event.php \Composer\Script\Event
  3. 11.1.x vendor/composer/composer/src/Composer/EventDispatcher/Event.php \Composer\EventDispatcher\Event
  4. 11.1.x vendor/symfony/event-dispatcher-contracts/Event.php \Symfony\Contracts\EventDispatcher\Event
  5. 11.1.x core/lib/Drupal/Component/EventDispatcher/Event.php \Drupal\Component\EventDispatcher\Event

Hierarchy

  • class \OpenTelemetry\SDK\Trace\Event implements \OpenTelemetry\SDK\Trace\EventInterface

Expanded class hierarchy of Event

3 string references to 'Event'
DatabaseBackend::schemaDefinition in core/lib/Drupal/Core/Flood/DatabaseBackend.php
Defines the schema for the flood table.
EventDriver::isSupported in vendor/revolt/event-loop/src/EventLoop/Driver/EventDriver.php
PerformanceTestRecorder::onRouteBuilderFinish in core/lib/Drupal/Core/Test/PerformanceTestRecorder.php
Records a router rebuild.

File

vendor/open-telemetry/sdk/Trace/Event.php, line 10

Namespace

OpenTelemetry\SDK\Trace
View source
final class Event implements EventInterface {
    public function __construct(string $name, int $timestamp, AttributesInterface $attributes) {
    }
    public function getAttributes() : AttributesInterface {
        return $this->attributes;
    }
    public function getName() : string {
        return $this->name;
    }
    public function getEpochNanos() : int {
        return $this->timestamp;
    }
    public function getTotalAttributeCount() : int {
        return count($this->attributes);
    }
    public function getDroppedAttributesCount() : int {
        return $this->attributes
            ->getDroppedAttributesCount();
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Event::getAttributes public function Overrides EventInterface::getAttributes
Event::getDroppedAttributesCount public function
Event::getEpochNanos public function Overrides EventInterface::getEpochNanos
Event::getName public function Overrides EventInterface::getName
Event::getTotalAttributeCount public function Overrides EventInterface::getTotalAttributeCount
Event::__construct public function

API Navigation

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