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

Breadcrumb

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

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\Telemetry
View 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

API Navigation

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