Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\PropertyServices Class Reference

Public Member Functions

 __construct (EntitySourceDefinitions $sourceDefinitions, array $serviceDefinitions)
 
 get (string $serviceName)
 

Static Public Member Functions

static getServiceDefinitions ()
 

Public Attributes

const PROPERTY_DATA_TYPE_LOOKUP_CALLBACK = 'property-data-type-lookup-callback'
 

Private Attributes

 $sourceDefinitions
 
 $serviceDefinitions
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\PropertyServices::__construct ( EntitySourceDefinitions $sourceDefinitions,
array $serviceDefinitions )
Parameters
EntitySourceDefinitions$sourceDefinitions
callable[]$serviceDefinitionskeyed by source type

Member Function Documentation

◆ get()

Wikibase\Repo\PropertyServices::get ( string $serviceName)
Parameters
string$serviceName
Returns
callable[] keyed by source name

◆ getServiceDefinitions()

static Wikibase\Repo\PropertyServices::getServiceDefinitions ( )
static

Member Data Documentation

◆ $serviceDefinitions

Wikibase\Repo\PropertyServices::$serviceDefinitions
private

◆ $sourceDefinitions

Wikibase\Repo\PropertyServices::$sourceDefinitions
private

◆ PROPERTY_DATA_TYPE_LOOKUP_CALLBACK

const Wikibase\Repo\PropertyServices::PROPERTY_DATA_TYPE_LOOKUP_CALLBACK = 'property-data-type-lookup-callback'

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