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

Public Member Functions

 __construct (ItemDescriptionValidator $validator, ItemWriteModelRetriever $itemRetriever)
 
 validateAndDeserialize (ItemDescriptionEditRequest $request)
 

Private Attributes

ItemDescriptionValidator $validator
 
ItemWriteModelRetriever $itemRetriever
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\ItemDescriptionEditRequestValidatingDeserializer::__construct ( ItemDescriptionValidator $validator,
ItemWriteModelRetriever $itemRetriever )

Member Function Documentation

◆ validateAndDeserialize()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\ItemDescriptionEditRequestValidatingDeserializer::validateAndDeserialize ( ItemDescriptionEditRequest $request)
Exceptions
UseCaseError

Member Data Documentation

◆ $itemRetriever

ItemWriteModelRetriever Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\ItemDescriptionEditRequestValidatingDeserializer::$itemRetriever
private

◆ $validator

ItemDescriptionValidator Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\ItemDescriptionEditRequestValidatingDeserializer::$validator
private

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