| 1 | <?php  | 
            ||
| 20 | class CacheWarmer implements CacheWarmerInterface  | 
            ||
| 21 | { | 
            ||
| 22 | protected $configs = array();  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 |      * {@inheritdoc} | 
            ||
| 26 | *  | 
            ||
| 27 | * @SuppressWarnings(PHPMD.UnusedFormalParameter)  | 
            ||
| 28 | */  | 
            ||
| 29 | 1 | public function warmUp($cacheDir)  | 
            |
| 35 | |||
| 36 | /**  | 
            ||
| 37 |      * {@inheritdoc} | 
            ||
| 38 | */  | 
            ||
| 39 | 10 | public function isOptional()  | 
            |
| 43 | |||
| 44 | /**  | 
            ||
| 45 | * Adds a ConfigCache.  | 
            ||
| 46 | *  | 
            ||
| 47 | * @param ConfigCache $config  | 
            ||
| 48 | *  | 
            ||
| 49 | * @return CacheWarmerListener  | 
            ||
| 50 | */  | 
            ||
| 51 | 11 | public function addConfig(ConfigCache $config)  | 
            |
| 57 | }  | 
            ||
| 58 |