| 1 | <?php |
||
| 20 | class CacheSaver implements CacheClearerInterface |
||
| 21 | { |
||
| 22 | protected $configs = array(); |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | 1 | public function clear($cacheDir) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 1 | public function isOptional() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Adds a ConfigCache with RestorablePhpFileCache. |
||
| 44 | * |
||
| 45 | * @param ConfigCache $config |
||
| 46 | * |
||
| 47 | * @return CacheSaver |
||
| 48 | */ |
||
| 49 | 2 | public function addConfig(ConfigCache $config) |
|
| 55 | } |
||
| 56 |