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

Public Member Functions

 __construct (SetPropertyLabelValidator $validator, PropertyWriteModelRetriever $propertyRetriever, PropertyUpdater $propertyUpdater, AssertPropertyExists $assertPropertyExists, AssertUserIsAuthorized $assertUserIsAuthorized)
 
 execute (SetPropertyLabelRequest $request)
 

Private Attributes

PropertyWriteModelRetriever $propertyRetriever
 
PropertyUpdater $propertyUpdater
 
SetPropertyLabelValidator $validator
 
AssertPropertyExists $assertPropertyExists
 
AssertUserIsAuthorized $assertUserIsAuthorized
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\SetPropertyLabel\SetPropertyLabel::__construct ( SetPropertyLabelValidator $validator,
PropertyWriteModelRetriever $propertyRetriever,
PropertyUpdater $propertyUpdater,
AssertPropertyExists $assertPropertyExists,
AssertUserIsAuthorized $assertUserIsAuthorized )

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\SetPropertyLabel\SetPropertyLabel::execute ( SetPropertyLabelRequest $request)
Exceptions
UseCaseError

Member Data Documentation

◆ $assertPropertyExists

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

◆ $assertUserIsAuthorized

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

◆ $propertyRetriever

PropertyWriteModelRetriever Wikibase\Repo\RestApi\Application\UseCases\SetPropertyLabel\SetPropertyLabel::$propertyRetriever
private

◆ $propertyUpdater

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

◆ $validator

SetPropertyLabelValidator Wikibase\Repo\RestApi\Application\UseCases\SetPropertyLabel\SetPropertyLabel::$validator
private

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