Automattic\WooCommerce\Internal\PushNotifications\Dispatchers
WpcomNotificationDispatcher::init
Initialize injected dependencies.
Method of the class: WpcomNotificationDispatcher{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WpcomNotificationDispatcher = new WpcomNotificationDispatcher(); $WpcomNotificationDispatcher->init( $step_logger ): void;
- $step_logger(NotificationStepLogger) (required)
- The step logger.
Changelog
| Since 11.3.0 | Introduced. |
WpcomNotificationDispatcher::init() WpcomNotificationDispatcher::init code WC 11.3.0
final public function init( NotificationStepLogger $step_logger ): void {
$this->step_logger = $step_logger;
}