Skip to content

Commit 2dfe8e2

Browse files
author
Felipe Araujo
committed
Re-adding deleteItem to interface
1 parent 68a7cbf commit 2dfe8e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CacheInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ public function setItem(CacheItemInterface $item, $value, $ttl): bool;
2020

2121
public function getOrSet(string $key, $ttl, callable $function, array $arguments = [], $nullTtl = CacheInterface::NONE);
2222

23+
public function deleteItem(string $key): bool;
24+
2325
public function setFlushCacheItems(bool $flushCacheItems): void;
2426

2527
public function keyHelper(string $className, string $functionName, ...$uniqueValues): string;

0 commit comments

Comments
 (0)