public function CacheProvider::fetch

Fetches an entry from the cache.

Parameters

string $id cache 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

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php, line 71

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

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