rss-bridge/docs/07_Cache_API/02_CacheInterface.md

17 lines
308 B
Markdown
Raw Normal View History

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;
}
```