public function ApcuRawBackend::deleteAll in Supercache 8
Same name and namespace in other branches
- 2.0.x src/Cache/ApcuRawBackend.php \Drupal\supercache\Cache\ApcuRawBackend::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/ ApcuRawBackend.php, line 216 - Contains \Drupal\supercache\Cache\ApcuRawBackend.
Class
- ApcuRawBackend
- Stores cache items in the Alternative PHP Cache User Cache (APCu).
Namespace
Drupal\supercache\CacheCode
public function deleteAll() {
apcu_delete(new \APCIterator('user', '/^' . preg_quote($this->binPrefix, '/') . '/'));
}