Automattic\WooCommerce\Blocks\Registry
AbstractDependencyType::__construct
Constructor
Method of the class: AbstractDependencyType{}
No Hooks.
Returns
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() AbstractDependencyType:: construct code WC 10.8.1
public function __construct( $callable_or_value ) {
$this->callable_or_value = $callable_or_value;
}