private function FileCacheReader::saveCacheFile

Save cache file

Parameters

string $path:

mixed $data:

3 calls to FileCacheReader::saveCacheFile()
FileCacheReader::getClassAnnotations in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/FileCacheReader.php
Retrieve annotations for class
FileCacheReader::getMethodAnnotations in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/FileCacheReader.php
Retrieve annotations for method
FileCacheReader::getPropertyAnnotations in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/FileCacheReader.php
Get annotations for property

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) . ');');
}