class CacheWarmerAggregate implements CacheWarmerInterface
Aggregates several cache warmers into a single one.
Methods
| __construct(array $warmers = array()) | ||
| enableOptionalWarmers() | ||
|
warmUp(string $cacheDir)
Warms up the cache. |
||
| Boolean |
isOptional()
Checks whether this warmer is optional or not. |
|
| setWarmers(array $warmers) | ||
| add(CacheWarmerInterface $warmer) |
Details
at line 24
public
__construct(array $warmers = array())
at line 30
public
enableOptionalWarmers()
at line 40
public
warmUp(string $cacheDir)
Warms up the cache.
at line 56
public Boolean
isOptional()
Checks whether this warmer is optional or not.
Optional warmers can be ignored on certain conditions.
A warmer should return true if the cache can be
generated incrementally and on-demand.