WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Domain\Merge\LexemeMerger Class Reference

Public Member Functions

 __construct (StatementsMerger $statementsMerger, LexemeFormsMerger $formsMerger, LexemeSensesMerger $sensesMerger, NoCrossReferencingLexemeStatements $noCrossReferencingLexemeStatementsValidator)
 
 merge (Lexeme $source, Lexeme $target)
 

Private Member Functions

 validate (Lexeme $source, Lexeme $target)
 

Private Attributes

 $statementsMerger
 
 $formsMerger
 
 $sensesMerger
 
 $noCrossReferencingLexemeStatementsValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Domain\Merge\LexemeMerger::__construct ( StatementsMerger $statementsMerger,
LexemeFormsMerger $formsMerger,
LexemeSensesMerger $sensesMerger,
NoCrossReferencingLexemeStatements $noCrossReferencingLexemeStatementsValidator )

Member Function Documentation

◆ merge()

Wikibase\Lexeme\Domain\Merge\LexemeMerger::merge ( Lexeme $source,
Lexeme $target )
Parameters
Lexeme$source
Lexeme$targetWill be modified by reference

◆ validate()

Wikibase\Lexeme\Domain\Merge\LexemeMerger::validate ( Lexeme $source,
Lexeme $target )
private

Member Data Documentation

◆ $formsMerger

Wikibase\Lexeme\Domain\Merge\LexemeMerger::$formsMerger
private

◆ $noCrossReferencingLexemeStatementsValidator

Wikibase\Lexeme\Domain\Merge\LexemeMerger::$noCrossReferencingLexemeStatementsValidator
private

◆ $sensesMerger

Wikibase\Lexeme\Domain\Merge\LexemeMerger::$sensesMerger
private

◆ $statementsMerger

Wikibase\Lexeme\Domain\Merge\LexemeMerger::$statementsMerger
private

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