You are here

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

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

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/Cache.php, line 55

Class

Cache
Interface for cache drivers.

Namespace

Doctrine\Common\Cache

Code

public function fetch($id);