class CRM_Utils_Cache_APCcache implements CRM_Utils_Cache_Interface

Constants

DEFAULT_TIMEOUT

DEFAULT_PREFIX

Properties

protected int $_timeout The default timeout to use.
protected string $_prefix The prefix prepended to cache keys.

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 63
CRM_Utils_Cache_APCcache __construct(array $config)

Constructor.

Parameters

array $config An array of configuration params.

Return Value

CRM_Utils_Cache_APCcache

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

Parameters

string $key
mixed $value

at line 90
mixed get(string $key)

Parameters

string $key

Return Value

mixed NULL if $key has not been previously set

at line 99
delete(string $key)

Parameters

string $key

at line 103
flush()

Delete all values from the cache.