Automattic\WooCommerce\Internal\StockNotifications\Frontend
SignupResult::__construct
Constructor.
Метод класса: SignupResult{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$SignupResult = new SignupResult(); $SignupResult->__construct( $code, ?Notification $notification );
- $code(строка) (обязательный)
- The signup code.
- ?Notification $notification
- .
По умолчанию:null
Код SignupResult::__construct() SignupResult:: construct WC 11.2.2
public function __construct( string $code, ?Notification $notification = null ) {
$this->code = $code;
$this->notification = $notification;
}