mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-12-24 05:08:20 +03:00
16 lines
308 B
Markdown
16 lines
308 B
Markdown
See `CacheInterface`.
|
|
|
|
```php
|
|
interface CacheInterface
|
|
{
|
|
public function get(string $key, $default = null);
|
|
|
|
public function set(string $key, $value, int $ttl = null): void;
|
|
|
|
public function delete(string $key): void;
|
|
|
|
public function clear(): void;
|
|
|
|
public function prune(): void;
|
|
}
|
|
```
|