Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser Class Reference
+ Inheritance diagram for Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser:
+ Collaboration diagram for Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser:

Public Member Functions

 __construct (DispatchingEntityIdParser $parser, BaseUriExtractor $baseUriExtractor, EntitySourceDefinitions $entitySourceDefinitions)
 
 parse ( $idSerialization)
 

Private Member Functions

 looksLikeURI ( $idSerialization)
 
 getEntitySourceForConceptURI ( $idSerialization)
 
 getSerializationWithoutConceptBaseURI (string $idSerialization, ApiEntitySource $entitySource)
 

Private Attributes

 $parser
 
 $baseUriExtractor
 
 $entitySourceDefinitions
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser::__construct ( DispatchingEntityIdParser $parser,
BaseUriExtractor $baseUriExtractor,
EntitySourceDefinitions $entitySourceDefinitions )
Parameters
DispatchingEntityIdParser$parser
BaseUriExtractor$baseUriExtractor
EntitySourceDefinitions$entitySourceDefinitions

Member Function Documentation

◆ getEntitySourceForConceptURI()

Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser::getEntitySourceForConceptURI ( $idSerialization)
private

◆ getSerializationWithoutConceptBaseURI()

Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser::getSerializationWithoutConceptBaseURI ( string $idSerialization,
ApiEntitySource $entitySource )
private

◆ looksLikeURI()

Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser::looksLikeURI ( $idSerialization)
private

◆ parse()

Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser::parse ( $idSerialization)
Parameters
string$idSerialization
Exceptions
EntityIdParsingException
Returns
EntityId

Implements Wikibase\DataModel\Entity\EntityIdParser.

Member Data Documentation

◆ $baseUriExtractor

Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser::$baseUriExtractor
private

◆ $entitySourceDefinitions

Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser::$entitySourceDefinitions
private

◆ $parser

Wikibase\Repo\FederatedProperties\FederatedPropertiesAwareDispatchingEntityIdParser::$parser
private

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