1 | <?php |
||
7 | class FileCache extends InMemoryCache |
||
8 | { |
||
9 | protected $filePath; |
||
10 | protected $filesystem; |
||
11 | protected $isFresh = true; |
||
12 | |||
13 | 10 | public function __construct($filePath) |
|
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | 2 | public function isFresh() |
|
31 | |||
32 | /** |
||
33 | * Dump the couples to the file |
||
34 | * |
||
35 | * @return void |
||
36 | */ |
||
37 | 6 | public function __destruct() |
|
49 | } |
||
50 |