| 1 | <?php |
||
| 21 | class QuerySourcesCacheWarmer implements CacheWarmerInterface |
||
| 22 | { |
||
| 23 | private $twig; |
||
| 24 | private $iterator; |
||
| 25 | |||
| 26 | 3 | public function __construct(\Twig_Environment $twig, \Traversable $iterator) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 2 | public function warmUp($cacheDir) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | 1 | public function isOptional() |
|
| 53 | } |
||
| 54 |