mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
refactor: CacheFactory (#2834)
This commit is contained in:
parent
b7b9378484
commit
07927008eb
10 changed files with 49 additions and 130 deletions
|
@ -123,7 +123,7 @@ class ElloBridge extends BridgeAbstract {
|
|||
|
||||
private function getAPIKey() {
|
||||
$cacheFac = new CacheFactory();
|
||||
$cacheFac->setWorkingDir(PATH_LIB_CACHES);
|
||||
|
||||
$cache = $cacheFac->create(Configuration::getConfig('cache', 'type'));
|
||||
$cache->setScope(get_called_class());
|
||||
$cache->setKey(array('key'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue