Пример #1
0
 /**
  * Returns file name.
  * @param  string
  * @return string
  */
 protected function getCacheFile($key)
 {
     $key = substr_replace($key, trim(strtr($this->hint, '\\/@', '.._'), '.') . '-', strpos($key, Nette\Caching\Cache::NAMESPACE_SEPARATOR) + 1, 0);
     return parent::getCacheFile($key) . '.php';
 }
Пример #2
0
	/**
	 * Returns file name.
	 * @param  string
	 * @return string
	 */
	protected function getCacheFile($key)
	{
		return parent::getCacheFile($key) . '.php';
	}