/** * Fetches an entry from the cache. * * @param string $id The id of the cache entry to fetch. * @return mixed The cached data or FALSE, if no cache entry exists for the given id. */ public function fetch($id) { return $this->cache->get($this->convertCacheIdentifier($id)); }
/** * Returns the data of the current cache entry pointed to by the cache entry * iterator. * * @return mixed * @api */ public function current() { return $this->frontend->get($this->backend->key()); }