Wikibase
MediaWiki Wikibase extension
|
Decorator on ChangeOps for collecting and distinguishing a collection of ChangeOp instances on entity fingerprint parts. More...
Public Member Functions | |
__construct (ChangeOps $innerChangeOps, TermValidatorFactory $termValidatorFactory) | |
add ( $changeOps) | |
Adds one change operation or a list of change operations. More... | |
getChangeOps () | |
Get the array of change operations. More... | |
validate (EntityDocument $entity) | |
getActions () | |
apply (EntityDocument $entity, Summary $summary=null) | |
Public Member Functions inherited from Wikibase\Repo\ChangeOp\ChangeOps | |
__construct ( $changeOps=[]) | |
Private Attributes | |
$innerChangeOps | |
$termValidatorFactory | |
Decorator on ChangeOps for collecting and distinguishing a collection of ChangeOp instances on entity fingerprint parts.
Wikibase\Repo\ChangeOp\ChangeOpFingerprint::__construct | ( | ChangeOps | $innerChangeOps, |
TermValidatorFactory | $termValidatorFactory | ||
) |
Wikibase\Repo\ChangeOp\ChangeOpFingerprint::add | ( | $changeOps | ) |
Adds one change operation or a list of change operations.
InvalidArgumentException |
Reimplemented from Wikibase\Repo\ChangeOp\ChangeOps.
Wikibase\Repo\ChangeOp\ChangeOpFingerprint::apply | ( | EntityDocument | $entity, |
Summary | $summary = null |
||
) |
EntityDocument | $entity | |
Summary | null | $summary |
ChangeOpException |
Reimplemented from Wikibase\Repo\ChangeOp\ChangeOps.
Wikibase\Repo\ChangeOp\ChangeOpFingerprint::getActions | ( | ) |
Wikibase\Repo\ChangeOp\ChangeOpFingerprint::getChangeOps | ( | ) |
Get the array of change operations.
Reimplemented from Wikibase\Repo\ChangeOp\ChangeOps.
Wikibase\Repo\ChangeOp\ChangeOpFingerprint::validate | ( | EntityDocument | $entity | ) |
EntityDocument | $entity |
ChangeOpException |
Reimplemented from Wikibase\Repo\ChangeOp\ChangeOps.
|
private |
|
private |