Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function set($entryIdentifier, $data, array $tags = [], $lifetime = null) |
||
21 | { |
||
22 | if (\is_array($data)) { |
||
23 | $cacheFile = $this->getCacheFileName($entryIdentifier); |
||
24 | GeneralUtility::writeFile($cacheFile, '<?php return ' . var_export($data, true) . ';'); |
||
25 | } |
||
26 | |||
27 | return null; |
||
28 | } |
||
29 | |||
85 |