Automattic\WooCommerce\Internal\StockNotifications\Frontend

SignupResult::__constructpublicWC 1.0

Constructor.

Method of the class: SignupResult{}

No Hooks.

Returns

null. Nothing (null).

Usage

$SignupResult = new SignupResult();
$SignupResult->__construct( $code, ?Notification $notification );
$code(string) (required)
The signup code.
?Notification $notification
.
Default: null

SignupResult::__construct() code WC 10.3.6

public function __construct( string $code, ?Notification $notification = null ) {
	$this->code         = $code;
	$this->notification = $notification;
}