class CacheWrapper implements SimpleCacheInterface (View source)

Make a generic cache object conform to our expected interface.

Properties

protected $dataStore

Methods

__construct($dataStore)

No description

bool
has(string $key)

Test for an entry from the cache

array
get(string $key)

Get an entry from the cache

set(string $key, array $data)

Store an entry in the cache

Details

__construct($dataStore)

No description

Parameters

$dataStore

bool has(string $key)

Test for an entry from the cache

Parameters

string $key

Return Value

bool

array get(string $key)

Get an entry from the cache

Parameters

string $key

Return Value

array

set(string $key, array $data)

Store an entry in the cache

Parameters

string $key
array $data