Class for generating a ClaimDifference given two statements.
More...
|
| __construct (Differ $listDiffer) |
|
| diffClaims (Statement $oldStatement=null, Statement $newStatement=null) |
| Calculates diff of two Statements and stores the difference in a ClaimDifference.
|
|
|
| diffMainSnaks (Statement $oldStatement=null, Statement $newStatement=null) |
|
| diffQualifiers (Statement $oldStatement=null, Statement $newStatement=null) |
|
| diffRanks (Statement $oldStatement=null, Statement $newStatement=null) |
|
| diffReferences (Statement $oldStatement=null, Statement $newStatement=null) |
|
Class for generating a ClaimDifference given two statements.
- Copyright
- GPL-2.0-or-later
- Author
- Tobias Gritschacher < tobia.nosp@m.s.gr.nosp@m.itsch.nosp@m.ache.nosp@m.r@wik.nosp@m.imed.nosp@m.ia.de >
-
Addshore
-
Thiemo Kreuz
◆ __construct()
Wikibase\Repo\Diff\ClaimDiffer::__construct |
( |
Differ |
$listDiffer | ) |
|
◆ diffClaims()
Wikibase\Repo\Diff\ClaimDiffer::diffClaims |
( |
Statement |
$oldStatement = null , |
|
|
Statement |
$newStatement = null |
|
) |
| |
Calculates diff of two Statements and stores the difference in a ClaimDifference.
- Parameters
-
Statement | null | $oldStatement | |
Statement | null | $newStatement | |
- Returns
- ClaimDifference
◆ diffMainSnaks()
Wikibase\Repo\Diff\ClaimDiffer::diffMainSnaks |
( |
Statement |
$oldStatement = null , |
|
|
Statement |
$newStatement = null |
|
) |
| |
|
private |
- Parameters
-
Statement | null | $oldStatement | |
Statement | null | $newStatement | |
- Returns
- DiffOpChange|null
◆ diffQualifiers()
Wikibase\Repo\Diff\ClaimDiffer::diffQualifiers |
( |
Statement |
$oldStatement = null , |
|
|
Statement |
$newStatement = null |
|
) |
| |
|
private |
- Parameters
-
Statement | null | $oldStatement | |
Statement | null | $newStatement | |
- Returns
- Diff
◆ diffRanks()
Wikibase\Repo\Diff\ClaimDiffer::diffRanks |
( |
Statement |
$oldStatement = null , |
|
|
Statement |
$newStatement = null |
|
) |
| |
|
private |
- Parameters
-
Statement | null | $oldStatement | |
Statement | null | $newStatement | |
- Returns
- DiffOpChange|null
◆ diffReferences()
Wikibase\Repo\Diff\ClaimDiffer::diffReferences |
( |
Statement |
$oldStatement = null , |
|
|
Statement |
$newStatement = null |
|
) |
| |
|
private |
- Parameters
-
Statement | null | $oldStatement | |
Statement | null | $newStatement | |
- Returns
- Diff
◆ $listDiffer
Wikibase\Repo\Diff\ClaimDiffer::$listDiffer |
|
private |
The documentation for this class was generated from the following file: