mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 09:35:28 +03:00
c27a300e02
* fix: refactor cache factory * test: add failing test * add null cache
30 lines
364 B
PHP
30 lines
364 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
class NullCache implements CacheInterface
|
|
{
|
|
public function setScope($scope)
|
|
{
|
|
}
|
|
|
|
public function setKey($key)
|
|
{
|
|
}
|
|
|
|
public function loadData()
|
|
{
|
|
}
|
|
|
|
public function saveData($data)
|
|
{
|
|
}
|
|
|
|
public function getTime()
|
|
{
|
|
}
|
|
|
|
public function purgeCache($seconds)
|
|
{
|
|
}
|
|
}
|