flush abstract method

void flush()

Flushes all bindings and resets the container to its initial state.

This removes all registered factories, instances, and contexts, effectively clearing the container. Useful for testing or reinitialization.

Implementation

void flush();