コード例 #1
0
 /**
  * Returns file name.
  * @param  string
  * @return string
  */
 protected function getCacheFile($key)
 {
     return parent::getCacheFile($key) . '.php';
 }
コード例 #2
0
ファイル: PhpFileStorage.php プロジェクト: riskatlas/micka
 /**
  * Returns file name.
  * @param  string
  * @return string
  */
 protected function getCacheFile($key)
 {
     return parent::getCacheFile(substr_replace($key, trim(strtr($this->hint, '\\/@', '.._'), '.') . '-', strpos($key, Cache::NAMESPACE_SEPARATOR) + 1, 0)) . '.php';
 }