Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyAliasesInLanguageEditRequestValidatingDeserializer Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyAliasesInLanguageEditRequestValidatingDeserializer:

Public Member Functions

 __construct (AliasesInLanguageDeserializer $deserializer, AliasesInLanguageValidator $validator)
 
 validateAndDeserialize (PropertyAliasesInLanguageEditRequest $request)
 

Private Member Functions

 deserialize (array $requestAliases)
 
 validate (AliasGroup $aliasesInLanguage)
 

Private Attributes

AliasesInLanguageDeserializer $deserializer
 
AliasesInLanguageValidator $validator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyAliasesInLanguageEditRequestValidatingDeserializer::__construct ( AliasesInLanguageDeserializer $deserializer,
AliasesInLanguageValidator $validator )

Member Function Documentation

◆ deserialize()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyAliasesInLanguageEditRequestValidatingDeserializer::deserialize ( array $requestAliases)
private

◆ validate()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyAliasesInLanguageEditRequestValidatingDeserializer::validate ( AliasGroup $aliasesInLanguage)
private

◆ validateAndDeserialize()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyAliasesInLanguageEditRequestValidatingDeserializer::validateAndDeserialize ( PropertyAliasesInLanguageEditRequest $request)
Exceptions
UseCaseError

Member Data Documentation

◆ $deserializer

AliasesInLanguageDeserializer Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyAliasesInLanguageEditRequestValidatingDeserializer::$deserializer
private

◆ $validator

AliasesInLanguageValidator Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyAliasesInLanguageEditRequestValidatingDeserializer::$validator
private

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