trait TestCaches (View source)

Properties

static protected string|null $originalCachePrefix

The original cache prefix prior to appending the token.

Methods

void
bootTestCache()

Boot test cache for parallel testing.

string
parallelSafeCachePrefix()

Get the test cache prefix.

void
switchToCachePrefix(string $prefix)

Switch to the given cache prefix.

Details

protected void bootTestCache()

Boot test cache for parallel testing.

Return Value

void

protected string parallelSafeCachePrefix()

Get the test cache prefix.

Return Value

string

protected void switchToCachePrefix(string $prefix)

Switch to the given cache prefix.

Parameters

string $prefix

Return Value

void