Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\ChangeOp\DummyChangeOpResult Class Reference

Only references the entity, always validates successfully and always indicates no changes to the entity. More...

+ Inheritance diagram for Wikibase\Repo\ChangeOp\DummyChangeOpResult:
+ Collaboration diagram for Wikibase\Repo\ChangeOp\DummyChangeOpResult:

Public Member Functions

 __construct (EntityId $entityId=null)
 
- Public Member Functions inherited from Wikibase\Repo\ChangeOp\GenericChangeOpResult
 __construct (?EntityId $entityId, bool $isEntityChanged)
 
 getEntityId ()
 The id of the entity document that the change op was applied to. More...
 
 isEntityChanged ()
 Whether the entity document was actually changed in any way as a result of applying the change op to it. More...
 
 validate ()
 Validate a ChangeOpResult. More...
 

Detailed Description

Only references the entity, always validates successfully and always indicates no changes to the entity.

Suitable as a result for a no-op ChangeOp implementation

See also
NullChangeOp

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ChangeOp\DummyChangeOpResult::__construct ( EntityId  $entityId = null)

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