RSS-Bridge.rss-bridge/lib/CacheInterface.php
Marcin Morawski 17d7ccd7dd Fix PHP 8.4 deprecation
Implicitly marking parameter as nullable is deprecated, the explicit nullable type must be used instead
2025-07-30 17:37:48 +02:00

14 lines
282 B
PHP

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