You are here

protected function RedisCache::doFlush 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::doFlush()

Flushes all cache entries.

Return value

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

Overrides CacheProvider::doFlush

File

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

Class

RedisCache
Redis cache provider.

Namespace

Doctrine\Common\Cache

Code

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