W3cubDocs

/Symfony 4.1

ChainCacheClearer

class ChainCacheClearer implements CacheClearerInterface

ChainCacheClearer.

Methods

__construct(iterable $clearers = array())
clear(string $cacheDir)

Clears any caches necessary.

Details

__construct(iterable $clearers = array())

Parameters

iterable $clearers

clear(string $cacheDir)

Clears any caches necessary.

Parameters

string $cacheDir The cache directory

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/CacheClearer/ChainCacheClearer.html