WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\LanguageChangeOpDeserializer Class Reference

Deserializer for language change request data. More...

+ Inheritance diagram for Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\LanguageChangeOpDeserializer:
+ Collaboration diagram for Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\LanguageChangeOpDeserializer:

Public Member Functions

 __construct (ValueValidator $languageValidator, StringNormalizer $stringNormalizer)
 
 createEntityChangeOp (array $changeRequest)
 

Private Member Functions

 validateItemId ( $idSerialization)
 

Private Attributes

 $languageValidator
 
 $stringNormalizer
 

Detailed Description

Deserializer for language change request data.

See also
docs/change-op-serialization.wiki for a description of the serialization format.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\LanguageChangeOpDeserializer::__construct ( ValueValidator $languageValidator,
StringNormalizer $stringNormalizer )

Member Function Documentation

◆ createEntityChangeOp()

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\LanguageChangeOpDeserializer::createEntityChangeOp ( array $changeRequest)
See also
ChangeOpDeserializer::createEntityChangeOp
Parameters
array$changeRequest
Exceptions
ChangeOpDeserializationException
Returns
ChangeOp

◆ validateItemId()

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\LanguageChangeOpDeserializer::validateItemId ( $idSerialization)
private
Parameters
string$idSerialization
Returns
ItemId
Exceptions
ChangeOpDeserializationException

Member Data Documentation

◆ $languageValidator

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\LanguageChangeOpDeserializer::$languageValidator
private

◆ $stringNormalizer

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\LanguageChangeOpDeserializer::$stringNormalizer
private

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