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

Breadcrumb

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

function SystemClock::now

@inheritDoc

Overrides ClockInterface::now

File

vendor/open-telemetry/api/Common/Time/SystemClock.php, line 28

Class

SystemClock
@internal OpenTelemetry

Namespace

OpenTelemetry\API\Common\Time

Code

public function now() : int {
    return self::$referenceTime + hrtime(true);
}

API Navigation

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