You are here

protected function VoidCache::doFlush in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/VoidCache.php \Doctrine\Common\Cache\VoidCache::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/VoidCache.php, line 66

Class

VoidCache
Void cache driver. The cache could be of use in tests where you don`t need to cache anything.

Namespace

Doctrine\Common\Cache

Code

protected function doFlush() {
  return true;
}