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

Public Member Functions

 __construct (PatchPropertyValidator $validator, AssertPropertyExists $assertPropertyExists, AssertUserIsAuthorized $assertUserIsAuthorized, PropertyRetriever $propertyRetriever, PropertySerializer $propertySerializer, PatchJson $patchJson, PropertyUpdater $propertyUpdater, PropertyWriteModelRetriever $propertyRetrieverWriteModel, PatchedPropertyValidator $patchedPropertyValidator)
 
 execute (PatchPropertyRequest $request)
 

Private Attributes

PatchPropertyValidator $validator
 
AssertPropertyExists $assertPropertyExists
 
AssertUserIsAuthorized $assertUserIsAuthorized
 
PropertyRetriever $propertyRetriever
 
PropertySerializer $propertySerializer
 
PatchJson $patchJson
 
PropertyUpdater $propertyUpdater
 
PropertyWriteModelRetriever $propertyRetrieverWriteModel
 
PatchedPropertyValidator $patchedPropertyValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::__construct ( PatchPropertyValidator $validator,
AssertPropertyExists $assertPropertyExists,
AssertUserIsAuthorized $assertUserIsAuthorized,
PropertyRetriever $propertyRetriever,
PropertySerializer $propertySerializer,
PatchJson $patchJson,
PropertyUpdater $propertyUpdater,
PropertyWriteModelRetriever $propertyRetrieverWriteModel,
PatchedPropertyValidator $patchedPropertyValidator )

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::execute ( PatchPropertyRequest $request)
Exceptions
UseCaseError

Member Data Documentation

◆ $assertPropertyExists

AssertPropertyExists Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$assertPropertyExists
private

◆ $assertUserIsAuthorized

AssertUserIsAuthorized Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$assertUserIsAuthorized
private

◆ $patchedPropertyValidator

PatchedPropertyValidator Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$patchedPropertyValidator
private

◆ $patchJson

PatchJson Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$patchJson
private

◆ $propertyRetriever

PropertyRetriever Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$propertyRetriever
private

◆ $propertyRetrieverWriteModel

PropertyWriteModelRetriever Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$propertyRetrieverWriteModel
private

◆ $propertySerializer

PropertySerializer Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$propertySerializer
private

◆ $propertyUpdater

PropertyUpdater Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$propertyUpdater
private

◆ $validator

PatchPropertyValidator Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchProperty::$validator
private

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