Automattic\WooCommerce\Internal\StockNotifications\Frontend

SignupService::initpublicWC 1.0

Init the service.

Method of the class: SignupService{}

No Hooks.

Returns

null. Nothing (null).

Usage

$SignupService = new SignupService();
$SignupService->init( $eligibility_service, $notification_management_service );
$eligibility_service(EligibilityService) (required)
The eligibility service.
$notification_management_service(NotificationManagementService) (required)
The notification management service.

SignupService::init() code WC 10.3.6

final public function init( EligibilityService $eligibility_service, NotificationManagementService $notification_management_service ) {
	$this->eligibility_service             = $eligibility_service;
	$this->notification_management_service = $notification_management_service;
}