rss-bridge/lib/CacheInterface.php

17 lines
330 B
PHP
Raw Normal View History

<?php
interface CacheInterface
{
public function setScope(string $scope): void;
public function setKey(array $key): void;
public function loadData(int $timeout = 86400);
2018-11-16 23:48:59 +03:00
public function saveData($data): void;
2018-11-16 23:48:59 +03:00
public function getTime(): ?int;
2018-11-16 23:48:59 +03:00
public function purgeCache(int $timeout = 86400): void;
}