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, EntityTypeDefinitions $entityTypeDefinitions)
 

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,
EntityTypeDefinitions  $entityTypeDefinitions 
)
Parameters
array[]$sourceConfig
EntityTypeDefinitions$entityTypeDefinitions
Returns
EntitySourceDefinitions

◆ splitNamespaceAndSlot()

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

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