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

Breadcrumb

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

function TestClock::now

Overrides ClockInterface::now

File

vendor/open-telemetry/api/Common/Time/TestClock.php, line 36

Class

TestClock
@internal OpenTelemetry

Namespace

OpenTelemetry\API\Common\Time

Code

public function now() : int {
    return $this->currentEpochNanos;
}

API Navigation

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