You are here

public function CacheProvider::fetch in Plug 7

Fetches an entry from the cache.

Parameters

string $id The id of the cache entry to fetch.:

Return value

mixed The cached data or FALSE, if no cache entry exists for the given id.

Overrides Cache::fetch

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php, line 76

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

public function fetch($id) {
  return $this
    ->doFetch($this
    ->getNamespacedId($id));
}