Skip to content

Commit 500d38f

Browse files
committed
chore: remove clear method as it is not needed
1 parent f966640 commit 500d38f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Deduplication/CacheManager.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,6 @@ public function add(string $signature): void
3939
);
4040
}
4141

42-
/**
43-
* Clear all entries for the current prefix.
44-
* Note: This is a best-effort operation and might not work with all cache stores.
45-
*/
46-
public function clear(): void
47-
{
48-
// All Laravel cache stores implement the flush method
49-
$this->cache->getStore()->flush();
50-
}
51-
5242
private function composeKey(string $signature): string
5343
{
5444
return implode(self::KEY_SEPARATOR, [

0 commit comments

Comments
 (0)