ExtendedContainer::replace( string $class_name, mixed $concrete )

Replace an existing registration with a different concrete.


Description Description


Parameters Parameters

$class_name

(Required) The class name whose definition will be replaced.

$concrete

(Required) The new concrete (same as "add").


Top ↑

Return Return

(AutomatticWooCommerceVendorLeagueContainerDefinitionDefinitionInterface) The modified definition.


Top ↑

Source Source

File: src/Internal/DependencyManagement/ExtendedContainer.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.