WC_WCCOM_Site_Installation_Manager::__construct
Constructor.
Метод класса: WC_WCCOM_Site_Installation_Manager{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_WCCOM_Site_Installation_Manager = new WC_WCCOM_Site_Installation_Manager(); $WC_WCCOM_Site_Installation_Manager->__construct( $product_id, $idempotency_key );
- $product_id(int) (обязательный)
- The product ID.
- $idempotency_key(строка)
- The idempotency key.
По умолчанию:''
Код WC_WCCOM_Site_Installation_Manager::__construct() WC WCCOM Site Installation Manager:: construct WC 11.0.1
public function __construct( int $product_id, string $idempotency_key = '' ) {
$this->product_id = $product_id;
$this->idempotency_key = $idempotency_key;
}