use Psr\SimpleCache\CacheInterface;
use seekat\API\Call\Cache\Service;
-final class Simple implements Service
-{
+final class Simple implements Service {
/**
* @var CacheInterface
*/
return $this->cache->set($key, $response);
}
+ public function del(string $key) {
+ $this->cache->delete($key);
+ }
+
public function clear() {
$this->cache->clear();
}