Skip to content

Commit aab604e

Browse files
committed
Updated declaration of PurgeClientInterface
1 parent 46b24ec commit aab604e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/drivers.md

Whitespace-only changes.

src/PurgeClient/PurgeClientInterface.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@
1616
interface PurgeClientInterface extends KernelPurgeClientInterface
1717
{
1818
/**
19-
* Triggers the cache purge $locationIds.
19+
* Triggers the cache purge of $tags.
2020
*
2121
* It's up to the implementor to decide whether to purge $locationIds right away or to delegate to a separate process.
2222
*
23-
* @param array $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy)
23+
* @param array $tags Array of tags to purge
2424
*/
25-
public function purge($locationIds);
25+
public function purge($tags);
26+
27+
/**
28+
* Purge the whole http cache
29+
*/
30+
public function purgeAll();
2631
}

0 commit comments

Comments
 (0)