public function ChainRouter::warmUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/ChainRouter.php \Symfony\Cmf\Component\Routing\ChainRouter::warmUp()
check for each contained router if it can warmup
Overrides WarmableInterface::warmUp
File
- vendor/
symfony-cmf/ routing/ ChainRouter.php, line 286
Class
- ChainRouter
- The ChainRouter allows to combine several routers to try in a defined order.
Namespace
Symfony\Cmf\Component\RoutingCode
public function warmUp($cacheDir) {
foreach ($this
->all() as $router) {
if ($router instanceof WarmableInterface) {
$router
->warmUp($cacheDir);
}
}
}