class NullResultCache
@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\Runner\ResultCache\NullResultCache implements \PHPUnit\Runner\ResultCache\ResultCache
Expanded class hierarchy of NullResultCache
2 files declare their use of NullResultCache
- Application.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Application.php - TestSuiteSorter.php in vendor/
phpunit/ phpunit/ src/ Runner/ TestSuiteSorter.php
File
-
vendor/
phpunit/ phpunit/ src/ Runner/ ResultCache/ NullResultCache.php, line 19
Namespace
PHPUnit\Runner\ResultCacheView source
final class NullResultCache implements ResultCache {
public function setStatus(string $id, TestStatus $status) : void {
}
public function status(string $id) : TestStatus {
return TestStatus::unknown();
}
public function setTime(string $id, float $time) : void {
}
public function time(string $id) : float {
return 0;
}
public function load() : void {
}
public function persist() : void {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
NullResultCache::load | public | function | Overrides ResultCache::load | |
NullResultCache::persist | public | function | Overrides ResultCache::persist | |
NullResultCache::setStatus | public | function | Overrides ResultCache::setStatus | |
NullResultCache::setTime | public | function | Overrides ResultCache::setTime | |
NullResultCache::status | public | function | Overrides ResultCache::status | |
NullResultCache::time | public | function | Overrides ResultCache::time |