protected function ChainCache::doFlush in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php \Doctrine\Common\Cache\ChainCache::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/ ChainCache.php, line 122
Class
- ChainCache
- Cache provider that allows to easily chain multiple cache providers
Namespace
Doctrine\Common\CacheCode
protected function doFlush() {
$flushed = true;
foreach ($this->cacheProviders as $cacheProvider) {
$flushed = $cacheProvider
->doFlush() && $flushed;
}
return $flushed;
}