You are here

protected function ApcCache::doFlush in Zircon Profile 8.0

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

Class

ApcCache
APC cache provider.

Namespace

Doctrine\Common\Cache

Code

protected function doFlush() {
  return apc_clear_cache() && apc_clear_cache('user');
}