mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
17 lines
302 B
PHP
17 lines
302 B
PHP
<?php
|
|
|
|
interface CacheInterface
|
|
{
|
|
public function setScope(string $scope): void;
|
|
|
|
public function setKey(array $key): void;
|
|
|
|
public function loadData();
|
|
|
|
public function saveData($data): void;
|
|
|
|
public function getTime(): ?int;
|
|
|
|
public function purgeCache(int $seconds): void;
|
|
}
|