Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Store\DispatchingEntityStoreWatcher Class Reference

EntityStoreWatcher that dispatches events to more EntityStoreWatchers. More...

+ Inheritance diagram for Wikibase\Repo\Store\DispatchingEntityStoreWatcher:
+ Collaboration diagram for Wikibase\Repo\Store\DispatchingEntityStoreWatcher:

Public Member Functions

 __construct ()
 
 entityUpdated (EntityRevision $entityRevision)
 
 redirectUpdated (EntityRedirect $entityRedirect, $revisionId)
 
 entityDeleted (EntityId $entityId)
 
- Public Member Functions inherited from Wikibase\Repo\GenericEventDispatcher
 __construct ( $interface)
 
 registerWatcher ( $listener)
 Registers a watcher. More...
 
 unregisterWatcher ( $key)
 Unregisters a watcher using its registration key. More...
 
 dispatch ( $event,... $args)
 Dispatches a notification to all registered watchers. More...
 

Detailed Description

EntityStoreWatcher that dispatches events to more EntityStoreWatchers.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Store\DispatchingEntityStoreWatcher::__construct ( )

Member Function Documentation

◆ entityDeleted()

Wikibase\Repo\Store\DispatchingEntityStoreWatcher::entityDeleted ( EntityId  $entityId)
See also
EntityStoreWatcher::entityDeleted
Parameters
EntityId$entityId

Implements Wikibase\Lib\Store\EntityStoreWatcher.

◆ entityUpdated()

Wikibase\Repo\Store\DispatchingEntityStoreWatcher::entityUpdated ( EntityRevision  $entityRevision)
See also
EntityStoreWatcher::entityUpdated
Parameters
EntityRevision$entityRevision

Implements Wikibase\Lib\Store\EntityStoreWatcher.

◆ redirectUpdated()

Wikibase\Repo\Store\DispatchingEntityStoreWatcher::redirectUpdated ( EntityRedirect  $entityRedirect,
  $revisionId 
)
See also
EntityStoreWatcher::redirectUpdated
Parameters
EntityRedirect$entityRedirect
int$revisionId

Implements Wikibase\Lib\Store\EntityStoreWatcher.


The documentation for this class was generated from the following file: