Inpsyde\MultilingualPress\Service\Container::extend PHP Метод

extend() публичный Метод

Replaces the factory callback with the given name with the given factory callback.
С версии: 3.0.0
public extend ( string $name, callable $new_factory ) : static
$name string The name of an existing factory callback.
$new_factory callable The new factory callback.
Результат static Container instance.
    public function extend($name, callable $new_factory);