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

Public Member Functions

 __construct (ItemLabelValidator $validator, ItemWriteModelRetriever $itemRetriever)
 
 validateAndDeserialize (ItemLabelEditRequest $request)
 

Private Attributes

ItemLabelValidator $validator
 
ItemWriteModelRetriever $itemRetriever
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\ItemLabelEditRequestValidatingDeserializer::__construct ( ItemLabelValidator $validator,
ItemWriteModelRetriever $itemRetriever )

Member Function Documentation

◆ validateAndDeserialize()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\ItemLabelEditRequestValidatingDeserializer::validateAndDeserialize ( ItemLabelEditRequest $request)
Exceptions
UseCaseError

Member Data Documentation

◆ $itemRetriever

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

◆ $validator

ItemLabelValidator Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\ItemLabelEditRequestValidatingDeserializer::$validator
private

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