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

Public Member Functions

 __construct ()
 
 canPatchEntityType ( $entityType)
 
 patchEntity (EntityDocument $entity, EntityDiff $patch)
 
 patch (Form $form, ChangeFormDiffOp $diff)
 

Private Attributes

TermListPatcher $termListPatcher
 
StatementListPatcher $statementListPatcher
 
ListPatcher $listPatcher
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ canPatchEntityType()

Wikibase\Lexeme\Domain\Diff\FormPatcher::canPatchEntityType ( $entityType)
Parameters
string$entityType
Returns
bool

◆ patch()

Wikibase\Lexeme\Domain\Diff\FormPatcher::patch ( Form $form,
ChangeFormDiffOp $diff )
Deprecated
use self::patchEntity instead
Parameters
Form$form
ChangeFormDiffOp$diff

◆ patchEntity()

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

Member Data Documentation

◆ $listPatcher

ListPatcher Wikibase\Lexeme\Domain\Diff\FormPatcher::$listPatcher
private

◆ $statementListPatcher

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

◆ $termListPatcher

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

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