public function CacheProvider::deleteAll

Delete all cache entries.

Return value

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

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php, line 123

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

public function deleteAll() {
  $namespaceCacheKey = $this
    ->getNamespaceCacheKey();
  $namespaceVersion = $this
    ->getNamespaceVersion() + 1;
  $this->namespaceVersion = $namespaceVersion;
  return $this
    ->doSave($namespaceCacheKey, $namespaceVersion);
}