WC_WCCOM_Site_Installation_State::__construct()protectedWC 1.0

Constructor.

Method of the class: WC_WCCOM_Site_Installation_State{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->__construct( $product_id );
$product_id(string) (required)
The product ID.

WC_WCCOM_Site_Installation_State::__construct() code WC 8.7.0

protected function __construct( $product_id ) {
	$this->product_id = $product_id;
}