Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\TermIndexPropertyTermStoreWriter Class Reference

An adapter to turn a TermIndex into a PropertyTermStoreWriter. More...

+ Inheritance diagram for Wikibase\Lib\Store\TermIndexPropertyTermStoreWriter:
+ Collaboration diagram for Wikibase\Lib\Store\TermIndexPropertyTermStoreWriter:

Public Member Functions

 __construct (TermIndex $termIndex)
 
 storeTerms (PropertyId $propertyId, Fingerprint $terms)
 
 deleteTerms (PropertyId $propertyId)
 

Private Attributes

 $termIndex
 

Detailed Description

An adapter to turn a TermIndex into a PropertyTermStoreWriter.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\TermIndexPropertyTermStoreWriter::__construct ( TermIndex  $termIndex)

Member Function Documentation

◆ deleteTerms()

Wikibase\Lib\Store\TermIndexPropertyTermStoreWriter::deleteTerms ( PropertyId  $propertyId)

◆ storeTerms()

Wikibase\Lib\Store\TermIndexPropertyTermStoreWriter::storeTerms ( PropertyId  $propertyId,
Fingerprint  $terms 
)

Member Data Documentation

◆ $termIndex

Wikibase\Lib\Store\TermIndexPropertyTermStoreWriter::$termIndex
private

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