You are here

abstract protected function CacheProvider::doContains in Plug 7

Tests if an entry exists in the cache.

Parameters

string $id The cache id of the entry to check for.:

Return value

boolean TRUE if a cache entry exists for the given cache id, FALSE otherwise.

1 call to CacheProvider::doContains()
CacheProvider::contains in lib/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Tests if an entry exists in the cache.
17 methods override CacheProvider::doContains()
ApcCache::doContains in lib/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.php
Tests if an entry exists in the cache.
ArrayCache::doContains in lib/doctrine/cache/lib/Doctrine/Common/Cache/ArrayCache.php
Tests if an entry exists in the cache.
ChainCache::doContains in lib/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php
Tests if an entry exists in the cache.
CouchbaseCache::doContains in lib/doctrine/cache/lib/Doctrine/Common/Cache/CouchbaseCache.php
Tests if an entry exists in the cache.
FilesystemCache::doContains in lib/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php
Tests if an entry exists in the cache.

... See full list

File

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

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

protected abstract function doContains($id);