WordPress at Your Fingertips
function is not described


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.


null. Nothing.


$ExtendedContainer = new ExtendedContainer();

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 );