Wikibase
MediaWiki Wikibase extension
Wikibase\DataAccess\EntitySourceDefinitionsConfigParser Class Reference

TODO: alternatively, the logic could go to the "static constructor" of EntitySourceDefinitions class? More...

Public Member Functions

 newDefinitionsFromConfigArray (array $sourceConfig, SubEntityTypesMapper $subEntityTypesMapper)
 

Private Member Functions

 assertConfigArrayWellFormed (array $sourceConfig)
 

Static Private Member Functions

static splitNamespaceAndSlot ( $namespaceAndSlot)
 

Detailed Description

TODO: alternatively, the logic could go to the "static constructor" of EntitySourceDefinitions class?

Member Function Documentation

◆ assertConfigArrayWellFormed()

Wikibase\DataAccess\EntitySourceDefinitionsConfigParser::assertConfigArrayWellFormed ( array  $sourceConfig)
private

◆ newDefinitionsFromConfigArray()

Wikibase\DataAccess\EntitySourceDefinitionsConfigParser::newDefinitionsFromConfigArray ( array  $sourceConfig,
SubEntityTypesMapper  $subEntityTypesMapper 
)
Parameters
array[]$sourceConfig
SubEntityTypesMapper$subEntityTypesMapper
Returns
EntitySourceDefinitions

◆ splitNamespaceAndSlot()

static Wikibase\DataAccess\EntitySourceDefinitionsConfigParser::splitNamespaceAndSlot (   $namespaceAndSlot)
staticprivate

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