You are here

protected function ArrayCache::doFlush in Zircon Profile 8

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

Class

ArrayCache
Array cache driver.

Namespace

Doctrine\Common\Cache

Code

protected function doFlush() {
  $this->data = array();
  return true;
}