Wikibase
MediaWiki Wikibase extension
|
Constructs ChangeOps for label change requests. More...
Public Member Functions | |
__construct (FingerprintChangeOpFactory $fingerprintChangeOpFactory, StringNormalizer $stringNormalizer, TermChangeOpSerializationValidator $validator) | |
createEntityChangeOp (array $changeRequest) | |
Private Member Functions | |
assertIsArray ( $labels) | |
Private Attributes | |
$fingerprintChangeOpFactory | |
$stringNormalizer | |
$validator | |
Constructs ChangeOps for label change requests.
Wikibase\Repo\ChangeOp\Deserialization\LabelsChangeOpDeserializer::__construct | ( | FingerprintChangeOpFactory | $fingerprintChangeOpFactory, |
StringNormalizer | $stringNormalizer, | ||
TermChangeOpSerializationValidator | $validator ) |
|
private |
array | $labels |
ChangeOpDeserializationException | -assert array $labels |
Wikibase\Repo\ChangeOp\Deserialization\LabelsChangeOpDeserializer::createEntityChangeOp | ( | array | $changeRequest | ) |
array[] | $changeRequest |
ChangeOpDeserializationException |
Implements Wikibase\Repo\ChangeOp\ChangeOpDeserializer.
|
private |
|
private |
|
private |