function DrushFileCache::readFile

6.x cache.inc DrushFileCache::readFile($filename)
5.x cache.inc DrushFileCache::readFile($filename)
1 call to DrushFileCache::readFile()
DrushFileCache::getMultiple in includes/cache.inc
Return data from the persistent cache when given an array of cache IDs.
1 method overrides DrushFileCache::readFile()

File

includes/cache.inc, line 344
Drush cache API

Class

DrushFileCache
Default cache implementation.

Code

function readFile($filename) {
  $item = file_get_contents($filename);
  return $item ? unserialize($item) : FALSE;
}