Extends
lithium\core\Object
Read value(s) from the cache
Parameters
- string $key The key to uniquely identify the cached item
Returns
closure Function returning cached value if successful, `false` otherwiseSource
public function read($key) {
return function($self, $params) {
return xcache_get($params['key']);
};
}