ExtendedContainer
This class extends the original League’s Container object by adding some functionality that we need for WooCommerce.
Description Description
Source Source
File: src/Internal/DependencyManagement/ExtendedContainer.php
Methods Methods
- add — Register a class in the container.
- get — Get an instance of a registered class.
- get_class_from_concrete — Gets the class from the concrete regardless of type.
- is_anonymous_class — Check if a class name corresponds to an anonymous class.
- is_class_allowed — Checks to see whether or not a class is allowed to be registered.
- replace — Replace an existing registration with a different concrete.
- reset_all_resolved — Reset all the cached resolutions, so any further "get" for shared definitions will generate the instance again.