You are here

protected function RedisCache::doFlush in Plug 7

Flushes all cache entries.

Return value

boolean TRUE if the cache entries were successfully flushed, FALSE otherwise.

Overrides CacheProvider::doFlush

File

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

Class

RedisCache
Redis cache provider.

Namespace

Doctrine\Common\Cache

Code

protected function doFlush() {
  return $this->redis
    ->flushDB();
}