MediaWiki master
DomainEventDispatcher.php
Go to the documentation of this file.
1<?php
3
5
15
27 public function dispatch(
28 DomainEvent $event,
29 IConnectionProvider $dbProvider
30 ): void;
31
32}
Base class for domain event objects to be used with DomainEventDispatcher.
Service for sending domain events to registered listeners.
dispatch(DomainEvent $event, IConnectionProvider $dbProvider)
Dispatch the given event to any listeners that have been registered for the given event type.
Provide primary and replica IDatabase connections.