Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
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, $isEntityChanged)
 
 getEntityId ()
 The id of the entity document that the change op was applied to.
 
 isEntityChanged ()
 Whether the entity document was actually changed in any way as a result of applying the change op to it.
 
 validate ()
 Validate a ChangeOpResult.
 

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: