WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLanguage Class Reference
+ Inheritance diagram for Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLanguage:
+ Collaboration diagram for Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLanguage:

Public Member Functions

 __construct (ItemId $language, ValueValidator $languageValidator)
 
 validate (EntityDocument $entity)
 

Private Attributes

ItemId $language
 
ValueValidator $languageValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLanguage::__construct ( ItemId $language,
ValueValidator $languageValidator )

Member Function Documentation

◆ validate()

Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLanguage::validate ( EntityDocument $entity)
Parameters
EntityDocument$entity
Returns
Result
Exceptions
InvalidArgumentException

Member Data Documentation

◆ $language

ItemId Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLanguage::$language
private

◆ $languageValidator

ValueValidator Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLanguage::$languageValidator
private

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