You are here

public function CacheBackendWrapper::deleteAll in Devel 8.2

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::deleteAll()
  2. 8 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::deleteAll()
  3. 4.x webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::deleteAll()

Deletes all cache items in a bin.

Overrides CacheBackendInterface::deleteAll

See also

\Drupal\Core\Cache\CacheBackendInterface::invalidateAll()

\Drupal\Core\Cache\CacheBackendInterface::delete()

\Drupal\Core\Cache\CacheBackendInterface::deleteMultiple()

File

webprofiler/src/Cache/CacheBackendWrapper.php, line 128

Class

CacheBackendWrapper
Wraps an existing cache backend to track calls to the cache backend.

Namespace

Drupal\webprofiler\Cache

Code

public function deleteAll() {
  return $this->cacheBackend
    ->deleteAll();
}