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

Breadcrumb

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

function DefaultResultCache::time

Overrides ResultCache::time

File

vendor/phpunit/phpunit/src/Runner/ResultCache/DefaultResultCache.php, line 85

Class

DefaultResultCache
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Runner\ResultCache

Code

public function time(string $id) : float {
    return $this->times[$id] ?? 0.0;
}

API Navigation

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