WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Domain\Diff\LexemeDiff Class Reference

Represents a diff between two lexemes. More...

+ Inheritance diagram for Wikibase\Lexeme\Domain\Diff\LexemeDiff:
+ Collaboration diagram for Wikibase\Lexeme\Domain\Diff\LexemeDiff:

Public Member Functions

 __construct (array $operations=[])
 
 getLemmasDiff ()
 Returns a Diff object with the lemma differences.
 
 getLexicalCategoryDiff ()
 Returns a Diff object with the lexical category differences.
 
 getLanguageDiff ()
 Returns a Diff object with the language differences.
 
 getFormsDiff ()
 
 getSensesDiff ()
 
 isEmpty ()
 Returns if there are any changes (equivalent to: any differences between the entities).
 
 getNextFormIdDiff ()
 
 getNextSenseIdDiff ()
 
 toArray (callable $valueConverter=null)
 

Detailed Description

Represents a diff between two lexemes.

Since
1.0
Author
Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m -file-suppress PhanPluginNeverReturnMethod

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::__construct ( array $operations = [])
Parameters
DiffOp[]$operations

Member Function Documentation

◆ getFormsDiff()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::getFormsDiff ( )
Returns
Diff

◆ getLanguageDiff()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::getLanguageDiff ( )

Returns a Diff object with the language differences.

Returns
Diff

◆ getLemmasDiff()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::getLemmasDiff ( )

Returns a Diff object with the lemma differences.

Returns
Diff

◆ getLexicalCategoryDiff()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::getLexicalCategoryDiff ( )

Returns a Diff object with the lexical category differences.

Returns
Diff

◆ getNextFormIdDiff()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::getNextFormIdDiff ( )

◆ getNextSenseIdDiff()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::getNextSenseIdDiff ( )

◆ getSensesDiff()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::getSensesDiff ( )
Returns
Diff

◆ isEmpty()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::isEmpty ( )

Returns if there are any changes (equivalent to: any differences between the entities).

Returns
bool

◆ toArray()

Wikibase\Lexeme\Domain\Diff\LexemeDiff::toArray ( callable $valueConverter = null)

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