WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Internal\DependencyManagement

ExtendedContainer::reset_all_resolved() public WC 1.0

Reset all the cached resolutions, so any further "get" for shared definitions will generate the instance again.

{} It's a method of the class: ExtendedContainer{}

No Hooks.

Return

null. Nothing.

Usage

$ExtendedContainer = new ExtendedContainer();
$ExtendedContainer->reset_all_resolved();

Code of ExtendedContainer::reset_all_resolved() WC 5.9.0

public function reset_all_resolved() {
	foreach ( $this->definitions->getIterator() as $definition ) {
		// setConcrete causes the cached resolved value to be forgotten.
		$concrete = $definition->getConcrete();
		$definition->setConcrete( $concrete );
	}
}