Automattic\WooCommerce\Internal\PushNotifications\Dispatchers
InternalNotificationDispatcher::init
Initialize injected dependencies.
Метод класса: InternalNotificationDispatcher{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$InternalNotificationDispatcher = new InternalNotificationDispatcher(); $InternalNotificationDispatcher->init( $step_logger ): void;
- $step_logger(NotificationStepLogger) (обязательный)
- The step logger.
Список изменений
| С версии 11.3.0 | Введена. |
Код InternalNotificationDispatcher::init() InternalNotificationDispatcher::init WC 11.3.0
final public function init( NotificationStepLogger $step_logger ): void {
$this->step_logger = $step_logger;
}