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

Merges extracted entity ids from multiple EntityReferenceExtractors. More...

+ Inheritance diagram for Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractorCollection:
+ Collaboration diagram for Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractorCollection:

Public Member Functions

 __construct (array $referenceExtractors)
 
 extractEntityIds (EntityDocument $entity)
 

Private Attributes

 $referenceExtractors
 

Detailed Description

Merges extracted entity ids from multiple EntityReferenceExtractors.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractorCollection::__construct ( array $referenceExtractors)
Parameters
EntityReferenceExtractor[]$referenceExtractors

Member Function Documentation

◆ extractEntityIds()

Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractorCollection::extractEntityIds ( EntityDocument $entity)
Parameters
EntityDocument$entity
Returns
EntityId[] There is no guarantee that array elements will be unique.

Implements Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractor.

Member Data Documentation

◆ $referenceExtractors

Wikibase\Repo\EntityReferenceExtractors\EntityReferenceExtractorCollection::$referenceExtractors
private

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