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

Public Member Functions

 __construct (AliasesInLanguageDeserializer $deserializer, AliasesInLanguageValidator $validator)
 
 validateAndDeserialize (ItemAliasesInLanguageEditRequest $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\ItemAliasesInLanguageEditRequestValidatingDeserializer::__construct ( AliasesInLanguageDeserializer $deserializer,
AliasesInLanguageValidator $validator )

Member Function Documentation

◆ deserialize()

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

◆ validate()

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

◆ validateAndDeserialize()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\ItemAliasesInLanguageEditRequestValidatingDeserializer::validateAndDeserialize ( ItemAliasesInLanguageEditRequest $request)
Exceptions
UseCaseError

Member Data Documentation

◆ $deserializer

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

◆ $validator

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

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