MediaWiki master
DomainEventDispatcher.php
Go to the documentation of this file.
1<?php
3
5
13
25 public function dispatch(
26 DomainEvent $event,
27 IConnectionProvider $dbProvider
28 ): void;
29
30}
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.