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

Counts changes to entity that are not language bound (not instance of LanguageBoundChangeOpResult) in ChangeOpResult tree. More...

Public Member Functions

 countChanges (ChangeOpResult $changeOpResult)
 

Detailed Description

Counts changes to entity that are not language bound (not instance of LanguageBoundChangeOpResult) in ChangeOpResult tree.

Does not count non-leaf nodes (instances of ChangeOpsResult).

Member Function Documentation

◆ countChanges()

Wikibase\Repo\ChangeOp\NonLanguageBoundChangesCounter::countChanges ( ChangeOpResult  $changeOpResult)
Parameters
ChangeOpResult$changeOpResult
Returns
int count of non-language-bound changes to an entity

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