interface CRM_Utils_Cache_Interface

Methods

set(string $key, mixed $value)

Set the value in the cache.

mixed
get(string $key)

Get a value from the cache.

delete(string $key)

Delete a value from the cache.

flush()

Delete all values from the cache.

Details

at line 66
set(string $key, mixed $value)

Set the value in the cache.

Parameters

string $key
mixed $value

at line 75
mixed get(string $key)

Get a value from the cache.

Parameters

string $key

Return Value

mixed NULL if $key has not been previously set

at line 82
delete(string $key)

Delete a value from the cache.

Parameters

string $key

at line 87
flush()

Delete all values from the cache.