예제 #1
0
 /**
  * Returns file name.
  * @param  string
  * @return string
  */
 protected function getCacheFile($key)
 {
     return parent::getCacheFile($key) . '.php';
 }
예제 #2
0
 /**
  * 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';
 }