mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-29 06:38:51 +03:00
a9fd3b9e61
* fix(CacheInterface): logic bug in getTime * test
31 lines
391 B
PHP
31 lines
391 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(): ?int
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function purgeCache($seconds)
|
|
{
|
|
}
|
|
}
|