protected function CacheTestBase::generalWipe

Performs a general wipe of the bin.

Parameters

$bin: The bin to perform the wipe on.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Cache/CacheTestBase.php, line 97
Definition of Drupal\system\Tests\Cache\CacheTestBase.

Class

CacheTestBase
Provides helper methods for cache tests.

Namespace

Drupal\system\Tests\Cache

Code

protected function generalWipe($bin = NULL) {
  if ($bin == NULL) {
    $bin = $this->default_bin;
  }
  cache($bin)
    ->deleteExpired();
}