Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\MappedRequestValidatingDeserializer Class Reference

Public Member Functions

 __construct (callable $mapRequest)
 
 validateAndDeserialize (UseCaseRequest $request)
 

Private Attributes

 $mapRequest
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\MappedRequestValidatingDeserializer::__construct ( callable $mapRequest)

Member Function Documentation

◆ validateAndDeserialize()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\MappedRequestValidatingDeserializer::validateAndDeserialize ( UseCaseRequest $request)
Exceptions
UseCaseError
Returns
mixed

Member Data Documentation

◆ $mapRequest

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\MappedRequestValidatingDeserializer::$mapRequest
private

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