public function Cache::contains 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 method overrides Cache::contains()
- CacheProvider::contains in lib/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ CacheProvider.php - Tests if an entry exists in the cache.
File
- lib/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ Cache.php, line 64
Class
- Cache
- Interface for cache drivers.
Namespace
Doctrine\Common\CacheCode
public function contains($id);