public function CacheWarmerAggregate::warmUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate::warmUp()
Warms up the cache.
Parameters
string $cacheDir The cache directory:
Overrides WarmableInterface::warmUp
File
- vendor/
symfony/ http-kernel/ CacheWarmer/ CacheWarmerAggregate.php, line 41
Class
- CacheWarmerAggregate
- Aggregates several cache warmers into a single one.
Namespace
Symfony\Component\HttpKernel\CacheWarmerCode
public function warmUp($cacheDir) {
foreach ($this->warmers as $warmer) {
if (!$this->optionalsEnabled && $warmer
->isOptional()) {
continue;
}
$warmer
->warmUp($cacheDir);
}
}