You are here

public function Cache::contains in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/Cache.php \Doctrine\Common\Cache\Cache::contains()

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 vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Tests if an entry exists in the cache.

File

vendor/doctrine/cache/lib/Doctrine/Common/Cache/Cache.php, line 64

Class

Cache
Interface for cache drivers.

Namespace

Doctrine\Common\Cache

Code

public function contains($id);