PurgeClientInterface
PurgeClientInterface.php
:
12
Interface for Purge Clients.
Methods¶
purge() ¶
PurgeClientInterface.php
:
21
Triggers the cache purge of $tags.
|
|
It's up to the implementor to decide whether to purge tags right away or to delegate to a separate process.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$tags | array<string|int, mixed> | - |
Array of tags to purge. |
purgeAll() ¶
PurgeClientInterface.php
:
28
Purge the whole http cache.
|
|
This will purge cache for all repositories, to purge for only current repository call ::purge(['ez-all']).