interface FlushableConnectionResolver

Interface for connection resolvers that maintain internal caches.

Resolvers implementing this interface can have their caches cleared when DatabaseManager::purge() is called, ensuring fresh connections with updated configuration.

Methods

void
flush(string $name)

Flush a cached connection.

Details

at line 22
void flush(string $name)

Flush a cached connection.

Called by purge() to clear any resolver-level caching for the given connection name.

Parameters

string $name

Return Value

void