ChainCacheClearer

class ChainCacheClearer implements CacheClearerInterface

ChainCacheClearer.

Methods

__construct(array $clearers = array())

Constructs a new instance of ChainCacheClearer.

clear(string $cacheDir)

Clears any caches necessary.

add(CacheClearerInterface $clearer)

Adds a cache clearer to the aggregate.

Details

__construct(array $clearers = array())

Constructs a new instance of ChainCacheClearer.

Parameters

array $clearers The initial clearers

clear(string $cacheDir)

Clears any caches necessary.

Parameters

string $cacheDir The cache directory

add(CacheClearerInterface $clearer)

Adds a cache clearer to the aggregate.

Parameters

CacheClearerInterface $clearer
doc_Symfony
2016-10-28 06:08:23
Comments
Leave a Comment

Please login to continue.