Automattic\WooCommerce\Internal\PushNotifications\Services
PendingNotificationStore::init
Initialize dependencies.
Method of the class: PendingNotificationStore{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PendingNotificationStore = new PendingNotificationStore(); $PendingNotificationStore->init( $dispatcher ): void;
- $dispatcher(InternalNotificationDispatcher) (required)
- The dispatcher to use on shutdown.
Changelog
| Since 10.7.0 | Introduced. |
PendingNotificationStore::init() PendingNotificationStore::init code WC 10.8.1
final public function init( InternalNotificationDispatcher $dispatcher ): void {
$this->dispatcher = $dispatcher;
}