Automattic\WooCommerce\Blocks\Registry

AbstractDependencyType::__construct()publicWC 1.0

Constructor

Method of the class: AbstractDependencyType{}

No Hooks.

Return

null. Nothing (null).

Usage

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

AbstractDependencyType::__construct() code WC 8.7.0

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