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

Breadcrumb

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

function HRTime::fromSecondsAndNanoseconds

Throws

InvalidArgumentException

2 calls to HRTime::fromSecondsAndNanoseconds()
SystemStopWatch::current in vendor/phpunit/phpunit/src/Event/Value/Telemetry/SystemStopWatch.php
SystemStopWatchWithOffset::current in vendor/phpunit/phpunit/src/Event/Value/Telemetry/SystemStopWatchWithOffset.php

File

vendor/phpunit/phpunit/src/Event/Value/Telemetry/HRTime.php, line 28

Class

HRTime
@psalm-immutable

Namespace

PHPUnit\Event\Telemetry

Code

public static function fromSecondsAndNanoseconds(int $seconds, int $nanoseconds) : self {
    return new self($seconds, $nanoseconds);
}
RSS feed
Powered by Drupal