Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Infrastructure\WikibaseRepoDescriptionLanguageCodeValidator Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Infrastructure\WikibaseRepoDescriptionLanguageCodeValidator:
+ Collaboration diagram for Wikibase\Repo\RestApi\Infrastructure\WikibaseRepoDescriptionLanguageCodeValidator:

Public Member Functions

 __construct (TermValidatorFactory $termValidatorFactory)
 
 validate (string $language)
 

Private Attributes

TermValidatorFactory $termValidatorFactory
 

Additional Inherited Members

- Public Attributes inherited from Wikibase\Repo\RestApi\Application\Validation\DescriptionLanguageCodeValidator
const CODE_INVALID_LANGUAGE = 'invalid-language-code'
 
const CONTEXT_LANGUAGE = 'language'
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\WikibaseRepoDescriptionLanguageCodeValidator::__construct ( TermValidatorFactory $termValidatorFactory)

Member Function Documentation

◆ validate()

Wikibase\Repo\RestApi\Infrastructure\WikibaseRepoDescriptionLanguageCodeValidator::validate ( string $language)

Member Data Documentation

◆ $termValidatorFactory

TermValidatorFactory Wikibase\Repo\RestApi\Infrastructure\WikibaseRepoDescriptionLanguageCodeValidator::$termValidatorFactory
private

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