WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Registry

AbstractDependencyType::resolve_value() protected WC 1.0

Resolver for the internal dependency value.

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

No Hooks.

Return

Mixed.

Usage

// protected - for code of main (parent) or child class
$result = $this->resolve_value( $container );
$container(Container) (required)
The Dependency Injection Container.

Code of AbstractDependencyType::resolve_value() WC 5.6.0

protected function resolve_value( Container $container ) {
	$callback = $this->callable_or_value;
	return \is_callable( $callback )
		? $callback( $container )
		: $callback;
}