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

Public Member Functions

 __construct (ValueValidator $validator)
 
 validate (string $languageCode, string $basePath='')
 

Private Attributes

ValueValidator $validator
 

Additional Inherited Members

- Public Attributes inherited from Wikibase\Repo\RestApi\Application\Validation\LanguageCodeValidator
const CODE_INVALID_LANGUAGE_CODE = 'language-code-validator-code-invalid-language-code'
 
const CONTEXT_LANGUAGE_CODE = 'language-code-validator-context-language-code'
 
const CONTEXT_PATH = 'language-code-validator-context-path'
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\ValueValidatorLanguageCodeValidator::__construct ( ValueValidator $validator)

Member Function Documentation

◆ validate()

Wikibase\Repo\RestApi\Infrastructure\ValueValidatorLanguageCodeValidator::validate ( string $languageCode,
string $basePath = '' )

Member Data Documentation

◆ $validator

ValueValidator Wikibase\Repo\RestApi\Infrastructure\ValueValidatorLanguageCodeValidator::$validator
private

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