public function CacheWarmerAggregate::__construct

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/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()) {
  $this
    ->setWarmers($warmers);
  $this->optionalsEnabled = false;
}