| 1 | <?php |
||
| 7 | class QuerySourcesCacheWarmer implements CacheWarmerInterface |
||
| 8 | { |
||
| 9 | private $twig; |
||
| 10 | private $iterator; |
||
| 11 | |||
| 12 | public function __construct(\Twig_Environment $twig, \Traversable $iterator) |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | public function warmUp($cacheDir) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function isOptional() |
||
| 40 | } |
||
| 41 |