Пример #1
0
	/**
	 * Returns file name.
	 * @param  string
	 * @return string
	 */
	protected function getCacheFile($key)
	{
		return parent::getCacheFile(substr_replace(
			$key,
			trim(strtr($this->hint, '\\/@', '.._'), '.') . '-',
			strpos($key, NCache::NAMESPACE_SEPARATOR) + 1,
			0
		)) . '.php';
	}
Пример #2
0
Файл: loader.php Проект: GE3/GE3
 protected function getCacheFile($key)
 {
     return parent::getCacheFile($key) . '.php';
 }