projects
/
m6w6
/
seekat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
PHP8
[m6w6/seekat]
/
examples
/
cache.php
diff --git
a/examples/cache.php
b/examples/cache.php
index 797fe60fb6fa184f281e3568d276bf937b213dc0..c71af446c10ae63d2d23b98b6a359e6db2c0c5ef 100755
(executable)
--- a/
examples/cache.php
+++ b/
examples/cache.php
@@
-32,6
+32,9
@@
$cache = new class($redis) implements \seekat\API\Call\Cache\Service {
function store(string $key, \http\Client\Response $response): bool {
return $this->redis->set($key, $response);
}
+ function del(string $key) {
+ return $this->redis->delete($key);
+ }
};
$api = new seekat\API(seekat\API\Future\react(), [