You are here

public function ApcuRawBackend::removeBin in Supercache 8

Same name and namespace in other branches
  1. 2.0.x src/Cache/ApcuRawBackend.php \Drupal\supercache\Cache\ApcuRawBackend::removeBin()

Remove a cache bin.

Overrides CacheRawBackendInterface::removeBin

File

src/Cache/ApcuRawBackend.php, line 230
Contains \Drupal\supercache\Cache\ApcuRawBackend.

Class

ApcuRawBackend
Stores cache items in the Alternative PHP Cache User Cache (APCu).

Namespace

Drupal\supercache\Cache

Code

public function removeBin() {
  apcu_delete(new \APCIterator('user', '/^' . preg_quote($this->binPrefix, '/') . '/'));
}