You are here

abstract protected function CacheProvider::doFetch in Plug 7

Fetches an entry from the cache.

Parameters

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

Return value

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

3 calls to CacheProvider::doFetch()
CacheProvider::doFetchMultiple in lib/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Default implementation of doFetchMultiple. Each driver that supports multi-get should owerwrite it.
CacheProvider::fetch in lib/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Fetches an entry from the cache.
CacheProvider::getNamespaceVersion in lib/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Returns the namespace version.
17 methods override CacheProvider::doFetch()
ApcCache::doFetch in lib/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.php
Fetches an entry from the cache.
ArrayCache::doFetch in lib/doctrine/cache/lib/Doctrine/Common/Cache/ArrayCache.php
Fetches an entry from the cache.
ChainCache::doFetch in lib/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php
Fetches an entry from the cache.
CouchbaseCache::doFetch in lib/doctrine/cache/lib/Doctrine/Common/Cache/CouchbaseCache.php
Fetches an entry from the cache.
FilesystemCache::doFetch in lib/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php
Fetches an entry from the cache.

... See full list

File

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

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

protected abstract function doFetch($id);