Copied!

PurgeClientInterface

PurgeClientInterface.php : 12

Interface for Purge Clients.

Methods

publicpurge()

PurgeClientInterface.php : 21

Triggers the cache purge of $tags.

public purge(array<string|int, mixed> $tags) : void

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.

publicpurgeAll()

PurgeClientInterface.php : 28

Purge the whole http cache.

public purgeAll() : void

This will purge cache for all repositories, to purge for only current repository call ::purge(['ez-all']).