protected function FileCache::getFilename

Return value

string

7 calls to FileCache::getFilename()

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/FileCache.php, line 92

Class

FileCache
Base file cache driver.

Namespace

Doctrine\Common\Cache

Code

protected function getFilename($id) {
  $path = implode(str_split(md5($id), 12), DIRECTORY_SEPARATOR);
  $path = $this->directory . DIRECTORY_SEPARATOR . $path;
  return $path . DIRECTORY_SEPARATOR . $id . $this->extension;
}