trait TestCaches

Methods

void
bootTestCache()

Boot test cache for parallel testing.

string
parallelSafeCachePrefix()

Get the test cache prefix.

string
parallelSafePrefix(string $prefix)

Append the parallel worker token to a prefix once.

void
switchToCachePrefix(string $prefix)

Switch to the given cache prefix.

Details

at line 15
protected void bootTestCache()

Boot test cache for parallel testing.

Return Value

void

at line 38
protected string parallelSafeCachePrefix()

Get the test cache prefix.

Return Value

string

at line 46
protected string parallelSafePrefix(string $prefix)

Append the parallel worker token to a prefix once.

Parameters

string $prefix

Return Value

string

at line 59
protected void switchToCachePrefix(string $prefix)

Switch to the given cache prefix.

Parameters

string $prefix

Return Value

void