class SystemStopWatch
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Event\Telemetry\SystemStopWatch implements \PHPUnit\Event\Telemetry\StopWatch
Expanded class hierarchy of SystemStopWatch
File
-
vendor/
phpunit/ phpunit/ src/ Event/ Value/ Telemetry/ SystemStopWatch.php, line 20
Namespace
PHPUnit\Event\TelemetryView source
final class SystemStopWatch implements StopWatch {
/**
* @throws InvalidArgumentException
*/
public function current() : HRTime {
return HRTime::fromSecondsAndNanoseconds(...hrtime());
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
SystemStopWatch::current | public | function | Overrides StopWatch::current |