作者:nmk
项目:basic-starte
/**
* Get the working directory of the cache.
*
* @return string
* @static
*/
public static function getDirectory()
{
return \Illuminate\Cache\FileStore::getDirectory();
}
作者:satriash
项目:tou
/**
* Get the cache key prefix.
*
* @return string
* @static
*/
public static function getPrefix()
{
return \Illuminate\Cache\FileStore::getPrefix();
}
作者:onlystar199
项目:mtd
/**
* Create new taggedFileCache instance.
*/
function __construct()
{
$file = App::make('Illuminate\\Filesystem\\Filesystem');
parent::__construct($file, storage_path('cache'));
}