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

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\PatchedPropertyAliasesValidator::__construct ( AliasesDeserializer $aliasesDeserializer,
AliasesInLanguageValidator $aliasesInLanguageValidator,
AliasLanguageCodeValidator $languageCodeValidator )

Member Function Documentation

◆ deserialize()

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

◆ validateAliases()

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

◆ validateAndDeserialize()

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

◆ validateLanguageCodes()

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

Member Data Documentation

◆ $aliasesDeserializer

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

◆ $aliasesInLanguageValidator

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

◆ $languageCodeValidator

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

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