WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Registry

AbstractDependencyType::__construct() public WC 1.0

Constructor

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

No Hooks.

Return

null. Nothing.

Usage

$AbstractDependencyType = new AbstractDependencyType();
$AbstractDependencyType->__construct( $callable_or_value );
$callable_or_value(mixed) (required)
A callable or value for the dependency type instance.

Code of AbstractDependencyType::__construct() WC 5.6.0

public function __construct( $callable_or_value ) {
	$this->callable_or_value = $callable_or_value;
}