mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 15:30:01 +02:00
[cache] Directly implement CacheInterface in FileCache
The function 'prepare' previously implemented in CacheAbstract is specifically required for FileCache and thus belongs to FileCache. Since this change removes all code from CacheAbstract, it can be removed completely.
This commit is contained in:
parent
5f1c4e1c55
commit
0998cbde9d
4 changed files with 10 additions and 14 deletions
|
@ -196,7 +196,7 @@ abstract class BridgeAbstract implements BridgeInterface {
|
|||
return static::URI;
|
||||
}
|
||||
|
||||
public function setCache(\CacheAbstract $cache){
|
||||
public function setCache(\CacheInterface $cache){
|
||||
$this->cache = $cache;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue