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` otherwise

Source

						public function read($key) {
		return function($self, $params) {
			return xcache_get($params['key']);
		};
	}