WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Domain\Diff\SensePatcher Class Reference
+ Inheritance diagram for Wikibase\Lexeme\Domain\Diff\SensePatcher:
+ Collaboration diagram for Wikibase\Lexeme\Domain\Diff\SensePatcher:

Public Member Functions

 __construct ()
 
 canPatchEntityType ( $entityType)
 
 patchEntity (EntityDocument $entity, EntityDiff $patch)
 

Private Member Functions

 patch (Sense $sense, ChangeSenseDiffOp $diff)
 

Private Attributes

TermListPatcher $termListPatcher
 
StatementListPatcher $statementListPatcher
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Domain\Diff\SensePatcher::__construct ( )

Member Function Documentation

◆ canPatchEntityType()

Wikibase\Lexeme\Domain\Diff\SensePatcher::canPatchEntityType ( $entityType)
Parameters
string$entityType
Returns
boolean

◆ patch()

Wikibase\Lexeme\Domain\Diff\SensePatcher::patch ( Sense $sense,
ChangeSenseDiffOp $diff )
private
Parameters
Sense$sense
ChangeSenseDiffOp$diff

◆ patchEntity()

Wikibase\Lexeme\Domain\Diff\SensePatcher::patchEntity ( EntityDocument $entity,
EntityDiff $patch )
Parameters
EntityDocument$entity
EntityDiff$patch
Exceptions
InvalidArgumentException

Member Data Documentation

◆ $statementListPatcher

StatementListPatcher Wikibase\Lexeme\Domain\Diff\SensePatcher::$statementListPatcher
private

◆ $termListPatcher

TermListPatcher Wikibase\Lexeme\Domain\Diff\SensePatcher::$termListPatcher
private

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