protected function ZendDataCache::doFlush

Deletes all cache entries.

Return value

boolean TRUE if the cache entry was successfully deleted, FALSE otherwise.

Overrides CacheProvider::doFlush

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/ZendDataCache.php, line 68

Class

ZendDataCache
Zend Data Cache cache driver.

Namespace

Doctrine\Common\Cache

Code

protected function doFlush() {
  $namespace = $this
    ->getNamespace();
  if (empty($namespace)) {
    return zend_shm_cache_clear();
  }
  return zend_shm_cache_clear($namespace);
}