Automattic\WooCommerce\Blocks\Registry
AbstractDependencyType::__construct()
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() AbstractDependencyType:: construct code WC 9.4.2
public function __construct( $callable_or_value ) { $this->callable_or_value = $callable_or_value; }