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