- Copyright
- GPL-2.0-or-later
- Author
- Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
-
Thiemo Kreuz
◆ __construct()
Wikibase\Lexeme\Domain\Diff\LexemePatcher::__construct |
( |
| ) |
|
◆ canPatchEntityType()
Wikibase\Lexeme\Domain\Diff\LexemePatcher::canPatchEntityType |
( |
| $entityType | ) |
|
◆ getPatchedItemId()
Wikibase\Lexeme\Domain\Diff\LexemePatcher::getPatchedItemId |
( |
Diff | $patch | ) |
|
|
private |
- Parameters
-
- Exceptions
-
- Returns
- ItemId|null|false False in case the diff is valid, but does not contain a change.
◆ patchEntity()
Wikibase\Lexeme\Domain\Diff\LexemePatcher::patchEntity |
( |
EntityDocument | $lexeme, |
|
|
EntityDiff | $patch ) |
- Parameters
-
Lexeme | $lexeme | |
LexemeDiff | $patch | |
- Exceptions
-
◆ patchForms()
Wikibase\Lexeme\Domain\Diff\LexemePatcher::patchForms |
( |
Lexeme | $lexeme, |
|
|
LexemeDiff | $patch ) |
|
private |
This should never happen, but somehow sometimes a request to remove a form ends up here for unknown reasons. See T326768.
Log what data we have to hopefully help figure out the problem
◆ patchNextFormId()
Wikibase\Lexeme\Domain\Diff\LexemePatcher::patchNextFormId |
( |
Lexeme | $entity, |
|
|
LexemeDiff | $patch ) |
|
private |
◆ patchNextSenseId()
Wikibase\Lexeme\Domain\Diff\LexemePatcher::patchNextSenseId |
( |
Lexeme | $entity, |
|
|
LexemeDiff | $patch ) |
|
private |
◆ patchSenses()
Wikibase\Lexeme\Domain\Diff\LexemePatcher::patchSenses |
( |
Lexeme | $lexeme, |
|
|
LexemeDiff | $patch ) |
|
private |
◆ $formPatcher
Wikibase\Lexeme\Domain\Diff\LexemePatcher::$formPatcher |
|
private |
◆ $sensePatcher
Wikibase\Lexeme\Domain\Diff\LexemePatcher::$sensePatcher |
|
private |
◆ $statementListPatcher
Wikibase\Lexeme\Domain\Diff\LexemePatcher::$statementListPatcher |
|
private |
◆ $termListPatcher
Wikibase\Lexeme\Domain\Diff\LexemePatcher::$termListPatcher |
|
private |
The documentation for this class was generated from the following file: