function Cache::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.

1 method overrides Cache::fetch()
CacheProvider::fetch in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php
Fetches an entry from the cache.

File

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

Class

Cache
Interface for cache drivers.

Namespace

Doctrine\Common\Cache

Code

function fetch($id);