Wikibase
MediaWiki Wikibase extension
Wikibase\DataAccess\WikibaseServices Interface Reference

Interface of the top-level container/factory of data access services. More...

+ Inheritance diagram for Wikibase\DataAccess\WikibaseServices:
+ Collaboration diagram for Wikibase\DataAccess\WikibaseServices:

Public Member Functions

 getEntityStoreWatcher ()
 Returns a service that can be registered as a watcher to changes to entity data. More...
 
- Public Member Functions inherited from Wikibase\DataAccess\DataAccessServices
 getEntityPrefetcher ()
 
 getEntityRevisionLookup ()
 
 getPropertyInfoLookup ()
 

Detailed Description

Interface of the top-level container/factory of data access services.

This is made up of DataAccessServices (which are repo or entity source specific) and a few other services that don't currently have their own interface.

Member Function Documentation

◆ getEntityStoreWatcher()

Wikibase\DataAccess\WikibaseServices::getEntityStoreWatcher ( )

Returns a service that can be registered as a watcher to changes to entity data.

Such watcher gets notified when entity is updated or deleted, or when the entity redirect is updated.

Returns
EntityStoreWatcher

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.


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