WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer Class Reference
+ Inheritance diagram for Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer:
+ Collaboration diagram for Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer:

Public Member Functions

 __construct (TermDeserializer $representationDeserializer, StringNormalizer $stringNormalizer, LexemeTermSerializationValidator $validator)
 
 setContext (ValidationContext $context)
 
 createEntityChangeOp (array $representations)
 

Private Attributes

const PARAM_LANGUAGE = 'language'
 
const PARAM_VALUE = 'value'
 
 $representationDeserializer
 
 $stringNormalizer
 
 $validationContext
 
 $termSerializationValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer::__construct ( TermDeserializer $representationDeserializer,
StringNormalizer $stringNormalizer,
LexemeTermSerializationValidator $validator )

Member Function Documentation

◆ createEntityChangeOp()

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer::createEntityChangeOp ( array $representations)
Parameters
array[]$representations
Returns
ChangeOpRepresentationList

◆ setContext()

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer::setContext ( ValidationContext $context)

Member Data Documentation

◆ $representationDeserializer

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer::$representationDeserializer
private

◆ $stringNormalizer

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

◆ $termSerializationValidator

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer::$termSerializationValidator
private

◆ $validationContext

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer::$validationContext
private

◆ PARAM_LANGUAGE

const Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer::PARAM_LANGUAGE = 'language'
private

◆ PARAM_VALUE

const Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\RepresentationsChangeOpDeserializer::PARAM_VALUE = 'value'
private

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