class CRM_Utils_Cache_Arraycache implements CRM_Utils_Cache_Interface

Class CRM_Utils_Cache_Arraycache

Properties

protected $_cache The cache storage container, an in memory array by default

Methods

__construct(array $config)

Constructor.

set(string $key, mixed $value)

No description

mixed
get(string $key)

No description

delete(string $key)

No description

flush()

Delete all values from the cache.

Details

at line 52
CRM_Utils_Cache_Arraycache __construct(array $config)

Constructor.

Parameters

array $config An array of configuration params.

Return Value

CRM_Utils_Cache_Arraycache

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

Parameters

string $key
mixed $value

at line 69
mixed get(string $key)

Parameters

string $key

Return Value

mixed NULL if $key has not been previously set

at line 76
delete(string $key)

Parameters

string $key

at line 80
flush()

Delete all values from the cache.