interface Journal

Cache journal provider.

Methods

void
write(string $key, array $dependencies)

Writes entry information into the journal.

array|null
clean(array $conditions)

Cleans entries from journal.

Details

at line 20
void write(string $key, array $dependencies)

Writes entry information into the journal.

Parameters

string $key
array $dependencies

{Cache::Tags => string[], Cache::Priority => int}

Return Value

void

at line 27
array|null clean(array $conditions)

Cleans entries from journal.

Parameters

array $conditions

{Cache::Tags => string[], Cache::Priority => int, Cache::All => bool}

Return Value

array|null

array of removed keys or null when performing a full cleanup