Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Store\PropertyInfoProvider Interface Reference

Service for providing a specific information about properties. More...

+ Inheritance diagram for Wikibase\Lib\Store\PropertyInfoProvider:

Public Member Functions

 getPropertyInfo (PropertyId $propertyId)
 Returns some information associated with a property ID. More...
 

Detailed Description

Service for providing a specific information about properties.

Which information is provided is determined by the concrete implementation and instance. Consumers of this interface should provide documentation that clearly states what information the PropertyInfoProvider instance is expected to return, and in what form.

Author
Daniel Kinzler

Member Function Documentation

◆ getPropertyInfo()

Wikibase\Lib\Store\PropertyInfoProvider::getPropertyInfo ( PropertyId  $propertyId)

Returns some information associated with a property ID.

Parameters
PropertyId$propertyId
Returns
mixed|null
Exceptions
StorageException

Implemented in Wikibase\Lib\Store\FieldPropertyInfoProvider.


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