Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator:

Public Member Functions

 __construct (AliasesDeserializer $aliasesDeserializer, AliasesInLanguageValidator $aliasesInLanguageValidator, AliasLanguageCodeValidator $languageCodeValidator)
 
 validateAndDeserialize ( $serialization)
 

Private Member Functions

 deserialize (array $serialization)
 
 validateAliases (AliasGroupList $aliases)
 
 validateLanguageCodes (array $languageCodes)
 

Private Attributes

AliasesDeserializer $aliasesDeserializer
 
AliasesInLanguageValidator $aliasesInLanguageValidator
 
AliasLanguageCodeValidator $languageCodeValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator::__construct ( AliasesDeserializer $aliasesDeserializer,
AliasesInLanguageValidator $aliasesInLanguageValidator,
AliasLanguageCodeValidator $languageCodeValidator )

Member Function Documentation

◆ deserialize()

Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator::deserialize ( array $serialization)
private

◆ validateAliases()

Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator::validateAliases ( AliasGroupList $aliases)
private

◆ validateAndDeserialize()

Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator::validateAndDeserialize ( $serialization)
Parameters
mixed$serialization
Exceptions
UseCaseError

◆ validateLanguageCodes()

Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator::validateLanguageCodes ( array $languageCodes)
private

Member Data Documentation

◆ $aliasesDeserializer

AliasesDeserializer Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator::$aliasesDeserializer
private

◆ $aliasesInLanguageValidator

AliasesInLanguageValidator Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator::$aliasesInLanguageValidator
private

◆ $languageCodeValidator

AliasLanguageCodeValidator Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchedAliasesValidator::$languageCodeValidator
private

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