Automattic\WooCommerce\Internal\StockNotifications\Frontend
SignupResult::__construct
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() SignupResult:: construct code WC 10.3.6
public function __construct( string $code, ?Notification $notification = null ) {
$this->code = $code;
$this->notification = $notification;
}