Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\SourceDispatchingPropertyDataTypeLookup Class Reference
+ Inheritance diagram for Wikibase\Lib\SourceDispatchingPropertyDataTypeLookup:
+ Collaboration diagram for Wikibase\Lib\SourceDispatchingPropertyDataTypeLookup:

Public Member Functions

 __construct (EntitySourceLookup $entitySourceLookup, array $lookupsCallbacks)
 
 getDataTypeIdForProperty (PropertyId $propertyId)
 

Private Attributes

 $entitySourceLookup
 
 $lookupsCallbacks
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\SourceDispatchingPropertyDataTypeLookup::__construct ( EntitySourceLookup $entitySourceLookup,
array $lookupsCallbacks )
Parameters
EntitySourceLookup$entitySourceLookup
callable[]$lookupsCallbackskeyed by source name

Member Function Documentation

◆ getDataTypeIdForProperty()

Wikibase\Lib\SourceDispatchingPropertyDataTypeLookup::getDataTypeIdForProperty ( PropertyId $propertyId)
Parameters
PropertyId$propertyId
Returns
string

Implements Wikibase\DataModel\Services\Lookup\PropertyDataTypeLookup.

Member Data Documentation

◆ $entitySourceLookup

Wikibase\Lib\SourceDispatchingPropertyDataTypeLookup::$entitySourceLookup
private

◆ $lookupsCallbacks

Wikibase\Lib\SourceDispatchingPropertyDataTypeLookup::$lookupsCallbacks
private

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