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

Breadcrumb

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

function TestClock::advance

1 call to TestClock::advance()
TestClock::advanceSeconds in vendor/open-telemetry/api/Common/Time/TestClock.php

File

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

Class

TestClock
@internal OpenTelemetry

Namespace

OpenTelemetry\API\Common\Time

Code

public function advance(int $nanoSeconds = 1) : void {
    $this->currentEpochNanos += $nanoSeconds;
}
RSS feed
Powered by Drupal