rss-bridge/lib/CacheInterface.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
281 B
PHP
Raw Normal View History

<?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;
2018-11-16 23:48:59 +03:00
public function clear(): void;
2018-11-16 23:48:59 +03:00
public function prune(): void;
}