Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Services\Diff\PropertyPatcher Class Reference
+ Inheritance diagram for Wikibase\DataModel\Services\Diff\PropertyPatcher:
+ Collaboration diagram for Wikibase\DataModel\Services\Diff\PropertyPatcher:

Public Member Functions

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

Private Member Functions

 assertIsProperty (EntityDocument $property)
 
 patchProperty (Property $property, EntityDiff $patch)
 

Private Attributes

 $fingerprintPatcher
 
 $statementListPatcher
 

Detailed Description

Since
1.0
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Services\Diff\PropertyPatcher::__construct ( )

Member Function Documentation

◆ assertIsProperty()

Wikibase\DataModel\Services\Diff\PropertyPatcher::assertIsProperty ( EntityDocument $property)
private

◆ canPatchEntityType()

Wikibase\DataModel\Services\Diff\PropertyPatcher::canPatchEntityType ( $entityType)
Parameters
string$entityType
Returns
bool

Implements Wikibase\DataModel\Services\Diff\EntityPatcherStrategy.

◆ patchEntity()

Wikibase\DataModel\Services\Diff\PropertyPatcher::patchEntity ( EntityDocument $entity,
EntityDiff $patch )
Parameters
EntityDocument$entity
EntityDiff$patch
Exceptions
InvalidArgumentException

Implements Wikibase\DataModel\Services\Diff\EntityPatcherStrategy.

◆ patchProperty()

Wikibase\DataModel\Services\Diff\PropertyPatcher::patchProperty ( Property $property,
EntityDiff $patch )
private

Member Data Documentation

◆ $fingerprintPatcher

Wikibase\DataModel\Services\Diff\PropertyPatcher::$fingerprintPatcher
private

◆ $statementListPatcher

Wikibase\DataModel\Services\Diff\PropertyPatcher::$statementListPatcher
private

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