Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
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.
 
 unregisterWatcher ( $key)
 Unregisters a watcher using its registration key.
 
 dispatch ( $event,... $args)
 Dispatches a notification to all registered watchers.
 

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: