You are here

public function CacheWarmerAggregate::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate::__construct()

File

vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php, line 24

Class

CacheWarmerAggregate
Aggregates several cache warmers into a single one.

Namespace

Symfony\Component\HttpKernel\CacheWarmer

Code

public function __construct(array $warmers = array()) {
  foreach ($warmers as $warmer) {
    $this
      ->add($warmer);
  }
}