added wincache cache driver

This commit is contained in:
Bryan Wood
2012-12-26 13:44:07 +10:00
parent f25d09dd07
commit 117a4cb843
2 changed files with 92 additions and 0 deletions

View File

@@ -79,6 +79,9 @@ class Cache {
case 'database':
return new Cache\Drivers\Database(Config::get('cache.key'));
case 'wincache':
return new Cache\Drivers\WinCache(Config::get('cache.key'));
default:
throw new \Exception("Cache driver {$driver} is not supported.");
}