final class DefaultResultCache implements ResultCache (View source)

internal  This class is not covered by the backward compatibility promise for PHPUnit
 

Constants

private VERSION

private DEFAULT_RESULT_CACHE_FILENAME

Methods

__construct(string|null $filepath = null)

No description

void
setStatus(ResultCacheId $id, TestStatus $status)

No description

status(ResultCacheId $id)

No description

void
setTime(ResultCacheId $id, float $time)

No description

float
time(ResultCacheId $id)

No description

void
mergeWith(DefaultResultCache $other)

No description

void
load()

No description

void
persist()

No description

Details

__construct(string|null $filepath = null)

No description

Parameters

string|null $filepath

void setStatus(ResultCacheId $id, TestStatus $status)

No description

Parameters

ResultCacheId $id
TestStatus $status

Return Value

void

TestStatus status(ResultCacheId $id)

No description

Parameters

ResultCacheId $id

Return Value

TestStatus

void setTime(ResultCacheId $id, float $time)

No description

Parameters

ResultCacheId $id
float $time

Return Value

void

float time(ResultCacheId $id)

No description

Parameters

ResultCacheId $id

Return Value

float

void mergeWith(DefaultResultCache $other)

No description

Parameters

DefaultResultCache $other

Return Value

void

void load()

No description

Return Value

void

void persist()

No description

Return Value

void

Exceptions

Exception