EditSummary-Builder for claim operations.
More...
|
| __construct ( $apiModuleName, ClaimDiffer $claimDiffer) |
|
| buildClaimSummary (?Statement $oldStatement, Statement $newStatement) |
| Checks what has actually changed inside a statement by looking at a ClaimDifference, constructs an edit-summary based upon that information and returns a Summary object holding this edit-summary.
|
|
EditSummary-Builder for claim operations.
- 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 >
-
Daniel Kinzler
◆ __construct()
Wikibase\Repo\ClaimSummaryBuilder::__construct |
( |
| $apiModuleName, |
|
|
ClaimDiffer | $claimDiffer ) |
- Parameters
-
string | $apiModuleName | |
ClaimDiffer | $claimDiffer | |
- Exceptions
-
◆ buildClaimSummary()
Wikibase\Repo\ClaimSummaryBuilder::buildClaimSummary |
( |
?Statement | $oldStatement, |
|
|
Statement | $newStatement ) |
Checks what has actually changed inside a statement by looking at a ClaimDifference, constructs an edit-summary based upon that information and returns a Summary object holding this edit-summary.
- Parameters
-
Statement | null | $oldStatement | |
Statement | $newStatement | |
- Returns
- Summary
◆ $apiModuleName
Wikibase\Repo\ClaimSummaryBuilder::$apiModuleName |
|
private |
◆ $claimDiffer
Wikibase\Repo\ClaimSummaryBuilder::$claimDiffer |
|
private |
The documentation for this class was generated from the following file: