blob: e4c4d69b14737079b41b4a710a3b39c41d957565 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace MediaWiki\DomainEvent;
/**
* Objects implementing DomainEventSubscriber represent a collection of
* related event listeners.
*
* @since 1.44
* @stable to type
* @note Extensions should not implement this interface directly but should
* extend DomainEventIngress.
*/
interface DomainEventSubscriber {
/**
* Registers listeners with the given $eventSource.
*/
public function registerListeners( DomainEventSource $eventSource ): void;
}
|