| 1 | <?php |
||
| 13 | class ConfigFileScriptCache extends SqlScriptCache implements ScriptCacheInterface |
||
| 14 | { |
||
| 15 | protected $cache; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param $cacheDirectory |
||
| 19 | * @param $debug |
||
| 20 | */ |
||
| 21 | public function __construct($cacheDirectory, $debug) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $key |
||
| 35 | * |
||
| 36 | * @return string|null |
||
| 37 | */ |
||
| 38 | protected function get($key) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $key |
||
| 51 | * @param string $value |
||
| 52 | */ |
||
| 53 | protected function set($key, $value) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @param string $key |
||
| 67 | */ |
||
| 68 | protected function clear($key) |
||
| 78 | } |
||
| 79 |