Save cache file
Parameters
string $path:
mixed $data:
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/FileCacheReader.php, line 184
Class
- FileCacheReader
- File cache reader for annotations.
Namespace
Doctrine\Common\Annotations
Code
private function saveCacheFile($path, $data) {
file_put_contents($path, '<?php return unserialize(' . var_export(serialize($data), true) . ');');
}