Automattic\WooCommerce\Internal\PushNotifications\Services

NotificationRetryHandler::init │ public │ WC 11.3.0

Initialize injected dependencies.

Method of the class: NotificationRetryHandler{}

No Hooks.

Returns

null. Nothing (null).

Usage

$NotificationRetryHandler = new NotificationRetryHandler();
$NotificationRetryHandler->init( $step_logger ): void;
$step_logger(NotificationStepLogger) (required)
The step logger.

Changelog

Since 11.3.0 Introduced.

NotificationRetryHandler::init() code WC 11.3.0

final public function init( NotificationStepLogger $step_logger ): void {
	$this->step_logger = $step_logger;
}