MediaWiki
master
Toggle main menu visibility
DomainEventSubscriber.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\DomainEvent;
4
16
interface
DomainEventSubscriber
{
17
21
public
function
registerListeners
(
DomainEventSource
$eventSource ): void;
22
23
}
MediaWiki\DomainEvent\DomainEventSource
Service object for registering listeners for domain events.
Definition
DomainEventSource.php:12
MediaWiki\DomainEvent\DomainEventSubscriber
Objects implementing DomainEventSubscriber represent a collection of related event listeners.
Definition
DomainEventSubscriber.php:16
MediaWiki\DomainEvent\DomainEventSubscriber\registerListeners
registerListeners(DomainEventSource $eventSource)
Registers listeners with the given $eventSource.
includes
DomainEvent
DomainEventSubscriber.php
Generated on
for MediaWiki by
1.18.0