You are here

protected function ApcCache::doFlush in Plug 7

Flushes all cache entries.

Return value

boolean TRUE if the cache entries were successfully flushed, FALSE otherwise.

Overrides CacheProvider::doFlush

File

lib/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');
}