You are here

public function CacheWarmerAggregate::add in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate::add()
2 calls to CacheWarmerAggregate::add()
CacheWarmerAggregate::setWarmers in vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php
CacheWarmerAggregate::__construct in vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php

File

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

Class

CacheWarmerAggregate
Aggregates several cache warmers into a single one.

Namespace

Symfony\Component\HttpKernel\CacheWarmer

Code

public function add(CacheWarmerInterface $warmer) {
  $this->warmers[] = $warmer;
}