Automattic\WooCommerce\Internal\StockNotifications\Frontend
SignupService::init
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, $email_manager );
- $eligibility_service(EligibilityService) (required)
- The eligibility service.
- $notification_management_service(NotificationManagementService) (required)
- The notification management service.
- $email_manager(EmailManager) (required)
- The email manager.
SignupService::init() SignupService::init code WC 10.9.4
final public function init(
EligibilityService $eligibility_service,
NotificationManagementService $notification_management_service,
EmailManager $email_manager
) {
$this->eligibility_service = $eligibility_service;
$this->notification_management_service = $notification_management_service;
$this->email_manager = $email_manager;
}