mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-12-22 12:27:17 +03:00
27 lines
404 B
PHP
27 lines
404 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
class NullCache implements CacheInterface
|
|
{
|
|
public function get(string $key, $default = null)
|
|
{
|
|
return $default;
|
|
}
|
|
|
|
public function set(string $key, $value, int $ttl = null): void
|
|
{
|
|
}
|
|
|
|
public function delete(string $key): void
|
|
{
|
|
}
|
|
|
|
public function clear(): void
|
|
{
|
|
}
|
|
|
|
public function prune(): void
|
|
{
|
|
}
|
|
}
|