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

Public Member Functions

 __construct (EditMetadataValidator $validator)
 
 validateAndDeserialize (EditMetadataRequest $request)
 

Private Member Functions

 validateEditTags (array $editTags)
 
 validateComment (?string $comment)
 

Private Attributes

EditMetadataValidator $validator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\EditMetadataRequestValidatingDeserializer::__construct ( EditMetadataValidator $validator)

Member Function Documentation

◆ validateAndDeserialize()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\EditMetadataRequestValidatingDeserializer::validateAndDeserialize ( EditMetadataRequest $request)
Exceptions
UseCaseError

◆ validateComment()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\EditMetadataRequestValidatingDeserializer::validateComment ( ?string $comment)
private
Exceptions
UseCaseError

◆ validateEditTags()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\EditMetadataRequestValidatingDeserializer::validateEditTags ( array $editTags)
private
Exceptions
UseCaseError

Member Data Documentation

◆ $validator

EditMetadataValidator Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\EditMetadataRequestValidatingDeserializer::$validator
private

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