Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer Class Reference

Constructs ChangeOps for description change requests. More...

+ Inheritance diagram for Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer:
+ Collaboration diagram for Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer:

Public Member Functions

 __construct (FingerprintChangeOpFactory $fingerprintChangeOpFactory, StringNormalizer $stringNormalizer, TermChangeOpSerializationValidator $validator)
 
 createEntityChangeOp (array $changeRequest)
 

Private Member Functions

 assertIsArray ( $descriptions)
 

Private Attributes

 $fingerprintChangeOpFactory
 
 $stringNormalizer
 
 $validator
 

Detailed Description

Constructs ChangeOps for description change requests.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer::__construct ( FingerprintChangeOpFactory $fingerprintChangeOpFactory,
StringNormalizer $stringNormalizer,
TermChangeOpSerializationValidator $validator )

Member Function Documentation

◆ assertIsArray()

Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer::assertIsArray ( $descriptions)
private
Parameters
array[]$descriptions
Exceptions
ChangeOpDeserializationException-assert array $descriptions

◆ createEntityChangeOp()

Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer::createEntityChangeOp ( array $changeRequest)
See also
ChangeOpDeserializer::createEntityChangeOp
Parameters
array[]$changeRequest
Returns
ChangeOp
Exceptions
ChangeOpDeserializationException

Implements Wikibase\Repo\ChangeOp\ChangeOpDeserializer.

Member Data Documentation

◆ $fingerprintChangeOpFactory

Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer::$fingerprintChangeOpFactory
private

◆ $stringNormalizer

Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer::$stringNormalizer
private

◆ $validator

Wikibase\Repo\ChangeOp\Deserialization\DescriptionsChangeOpDeserializer::$validator
private

The documentation for this class was generated from the following file: