You are here

protected function RedisCache::doDelete in Zircon Profile 8.0

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

Deletes a cache entry.

Parameters

string $id The cache id.:

Return value

boolean TRUE if the cache entry was successfully deleted, FALSE otherwise.

Overrides CacheProvider::doDelete

File

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

Class

RedisCache
Redis cache provider.

Namespace

Doctrine\Common\Cache

Code

protected function doDelete($id) {
  return $this->redis
    ->delete($id) > 0;
}