Wikibase
MediaWiki Wikibase extension
|
Uses an EntityReferenceExtractor based on the given entity's type. More...
Public Member Functions | |
__construct (array $callbacks, StatementEntityReferenceExtractor $statementEntityReferenceExtractor) | |
extractEntityIds (EntityDocument $entity) | |
Private Attributes | |
$callbacks | |
$statementEntityReferenceExtractor | |
Uses an EntityReferenceExtractor based on the given entity's type.
Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractorDelegator::__construct | ( | array | $callbacks, |
StatementEntityReferenceExtractor | $statementEntityReferenceExtractor ) |
array | $callbacks | maps entity types to EntityReferenceExtractors |
StatementEntityReferenceExtractor | $statementEntityReferenceExtractor |
Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractorDelegator::extractEntityIds | ( | EntityDocument | $entity | ) |
EntityDocument | $entity |
Implements Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractor.
|
private |
|
private |