function Cache::contains

Test if an entry exists in the cache.

Parameters

string $id cache 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 drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php
Test if an entry exists in the cache.

File

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

Class

Cache
Interface for cache drivers.

Namespace

Doctrine\Common\Cache

Code

function contains($id);