public function ChainedFastRawBackend::deleteAll in Supercache 8
Same name and namespace in other branches
- 2.0.x src/Cache/ChainedFastRawBackend.php \Drupal\supercache\Cache\ChainedFastRawBackend::deleteAll()
Deletes all cache items in a bin.
Overrides CacheRawBackendInterface::deleteAll
See also
\Drupal\supercache\Cache\CacheRawBackendInterface::delete()
\Drupal\supercache\Cache\CacheRawBackendInterface::deleteMultiple()
File
- src/
Cache/ ChainedFastRawBackend.php, line 216 - Contains \Drupal\supercache\Cache\ChainedFastRawBackend.
Class
- ChainedFastRawBackend
- Defines a backend with a fast and a consistent backend chain.
Namespace
Drupal\supercache\CacheCode
public function deleteAll() {
$this->consistentBackend
->deleteAll();
$this->fastBackend
->deleteAll();
$this
->markAsOutdated();
}