MediaWiki
master
DomainEventSource.php
Go to the documentation of this file.
1
<?php
2
namespace
MediaWiki\DomainEvent
;
3
10
interface
DomainEventSource
{
11
27
public
function
registerListener
(
string
$eventType, $listener ): void;
28
44
public
function
registerSubscriber
( $subscriber ): void;
45
46
}
MediaWiki\DomainEvent\DomainEventSource
Service object for registering listeners for domain events.
Definition
DomainEventSource.php:10
MediaWiki\DomainEvent\DomainEventSource\registerListener
registerListener(string $eventType, $listener)
Add a listener that will be notified on events of the given type, triggered by changed to the persist...
MediaWiki\DomainEvent\DomainEventSource\registerSubscriber
registerSubscriber( $subscriber)
Register the given subscriber to this event source.
MediaWiki\DomainEvent
Definition
DomainEvent.php:3
includes
DomainEvent
DomainEventSource.php
Generated on Thu Dec 26 2024 19:23:53 for MediaWiki by
1.10.0