interface CachedDiscoveryClearerInterface (View source)

Provides a way to clear static caches of all plugin managers.

Methods

addCachedDiscovery(CachedDiscoveryInterface $cached_discovery)

Adds a plugin manager to the active list.

clearCachedDefinitions()

Clears the cache on all cached discoveries.

Details

addCachedDiscovery(CachedDiscoveryInterface $cached_discovery)

Adds a plugin manager to the active list.

Parameters

CachedDiscoveryInterface $cached_discovery

An object that implements the cached discovery interface, typically a plugin manager.

clearCachedDefinitions()

Clears the cache on all cached discoveries.