You are here

protected function RedisCache::doDelete in Plug 7

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

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

Class

RedisCache
Redis cache provider.

Namespace

Doctrine\Common\Cache

Code

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