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]
/
lib
/
API
/
Call
/
Cache
/
Service
/
Simple.php
diff --git
a/lib/API/Call/Cache/Service/Simple.php
b/lib/API/Call/Cache/Service/Simple.php
index 901d7aa4d8e46b6205714d75e3fefb2e20931664..4358f1f2f17f37233a6df9a612aa206e1f728227 100644
(file)
--- a/
lib/API/Call/Cache/Service/Simple.php
+++ b/
lib/API/Call/Cache/Service/Simple.php
@@
-6,8
+6,7
@@
use http\Client\Response;
use Psr\SimpleCache\CacheInterface;
use seekat\API\Call\Cache\Service;
use Psr\SimpleCache\CacheInterface;
use seekat\API\Call\Cache\Service;
-final class Simple implements Service
-{
+final class Simple implements Service {
/**
* @var CacheInterface
*/
/**
* @var CacheInterface
*/
@@
-26,6
+25,10
@@
final class Simple implements Service
return $this->cache->set($key, $response);
}
return $this->cache->set($key, $response);
}
+ public function del(string $key) {
+ $this->cache->delete($key);
+ }
+
public function clear() {
$this->cache->clear();
}
public function clear() {
$this->cache->clear();
}