protected function FileCache::doFlush in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php \Doctrine\Common\Cache\FileCache::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/ FileCache.php, line 146
Class
- FileCache
- Base file cache driver.
Namespace
Doctrine\Common\CacheCode
protected function doFlush() {
foreach ($this
->getIterator() as $name => $file) {
@unlink($name);
}
return true;
}