public function ChainCacheClearer::clear

Clears any caches necessary.

Parameters

string $cacheDir The cache directory.:

Overrides CacheClearerInterface::clear

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/CacheClearer/ChainCacheClearer.php, line 39

Class

ChainCacheClearer
ChainCacheClearer.

Namespace

Symfony\Component\HttpKernel\CacheClearer

Code

public function clear($cacheDir) {
  foreach ($this->clearers as $clearer) {
    $clearer
      ->clear($cacheDir);
  }
}