Doctrine\Common\Cache\Cache::contains
Test if an entry exists in the cache.
Signature
public function contains(string
$id )
Parameters
$id
— string- cache id The cache id of the entry to check for.
Returns
- boolean
- TRUE if a cache entry exists for the given cache id, FALSE otherwise.