Wikibase
MediaWiki Wikibase extension
|
Constructs ChangeOps for statement change requests (referred to as "claims" for legacy reasons). More...
Public Member Functions | |
__construct (Deserializer $statementDeserializer, StatementChangeOpFactory $statementChangeOpFactory) | |
createEntityChangeOp (array $changeRequest) | |
Private Member Functions | |
createStatementChangeOps (array $serializations) | |
createStatementChangeOp ( $serialization) | |
createRemoveStatementChangeOp (array $serialization) | |
assertIsArray ( $claims) | |
Private Attributes | |
$statementDeserializer | |
$statementChangeOpFactory | |
Constructs ChangeOps for statement change requests (referred to as "claims" for legacy reasons).
Wikibase\Repo\ChangeOp\Deserialization\ClaimsChangeOpDeserializer::__construct | ( | Deserializer | $statementDeserializer, |
StatementChangeOpFactory | $statementChangeOpFactory ) |
|
private |
array | $claims |
ChangeOpDeserializationException |
Wikibase\Repo\ChangeOp\Deserialization\ClaimsChangeOpDeserializer::createEntityChangeOp | ( | array | $changeRequest | ) |
array[] | $changeRequest |
ChangeOpDeserializationException |
Implements Wikibase\Repo\ChangeOp\ChangeOpDeserializer.
|
private |
array | $serialization | A serialized statement. |
ChangeOpDeserializationException |
|
private |
array | $serialization | A serialized statement. |
ChangeOpDeserializationException |
|
private |
array[] | $serializations | Array of serialized statements. |
ChangeOpDeserializationException |
|
private |
|
private |