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

Deserialize a change request on a single sense. More...

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

Public Member Functions

 __construct (GlossesChangeOpDeserializer $glossesChangeOpDeserializer, ClaimsChangeOpDeserializer $statementsChangeOpDeserializer)
 
 setContext (ValidationContext $context)
 
 createEntityChangeOp (array $changeRequest)
 

Private Attributes

const PARAM_GLOSSES = 'glosses'
 
const PARAM_STATEMENTS = 'claims'
 
 $glossesChangeOpDeserializer
 
 $validationContext
 
 $statementsChangeOpDeserializer
 

Detailed Description

Deserialize a change request on a single sense.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\EditSenseChangeOpDeserializer::__construct ( GlossesChangeOpDeserializer $glossesChangeOpDeserializer,
ClaimsChangeOpDeserializer $statementsChangeOpDeserializer )

Member Function Documentation

◆ createEntityChangeOp()

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

◆ setContext()

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

Member Data Documentation

◆ $glossesChangeOpDeserializer

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\EditSenseChangeOpDeserializer::$glossesChangeOpDeserializer
private

◆ $statementsChangeOpDeserializer

Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\EditSenseChangeOpDeserializer::$statementsChangeOpDeserializer
private

◆ $validationContext

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

◆ PARAM_GLOSSES

const Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\EditSenseChangeOpDeserializer::PARAM_GLOSSES = 'glosses'
private

◆ PARAM_STATEMENTS

const Wikibase\Lexeme\Presentation\ChangeOp\Deserialization\EditSenseChangeOpDeserializer::PARAM_STATEMENTS = 'claims'
private

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