class CacheWarmerAggregate implements CacheWarmerInterface

Aggregates several cache warmers into a single one.

Methods

__construct(array $warmers = array())

No description

enableOptionalWarmers()

No description

warmUp(string $cacheDir)

Warms up the cache.

bool
isOptional()

Checks whether this warmer is optional or not.

setWarmers(array $warmers)

No description

add(CacheWarmerInterface $warmer)

No description

Details

at line line 24
__construct(array $warmers = array())

Parameters

array $warmers

at line line 31
enableOptionalWarmers()

at line line 41
warmUp(string $cacheDir)

Warms up the cache.

Parameters

string $cacheDir The cache directory

at line line 57
bool isOptional()

Checks whether this warmer is optional or not.

Return Value

bool true if the warmer is optional, false otherwise

at line line 62
setWarmers(array $warmers)

Parameters

array $warmers

at line line 70
add(CacheWarmerInterface $warmer)

Parameters

CacheWarmerInterface $warmer