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

Public Member Functions

 __construct (SetItemLabelValidator $validator, AssertItemExists $assertItemExists, ItemRetriever $itemRetriever, ItemUpdater $itemUpdater, AssertUserIsAuthorized $assertUserIsAuthorized)
 
 execute (SetItemLabelRequest $request)
 

Private Attributes

AssertItemExists $assertItemExists
 
ItemRetriever $itemRetriever
 
ItemUpdater $itemUpdater
 
SetItemLabelValidator $validator
 
AssertUserIsAuthorized $assertUserIsAuthorized
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\SetItemLabel\SetItemLabel::__construct ( SetItemLabelValidator $validator,
AssertItemExists $assertItemExists,
ItemRetriever $itemRetriever,
ItemUpdater $itemUpdater,
AssertUserIsAuthorized $assertUserIsAuthorized )

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\SetItemLabel\SetItemLabel::execute ( SetItemLabelRequest $request)
Exceptions
ItemRedirect
UseCaseError

Member Data Documentation

◆ $assertItemExists

AssertItemExists Wikibase\Repo\RestApi\Application\UseCases\SetItemLabel\SetItemLabel::$assertItemExists
private

◆ $assertUserIsAuthorized

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

◆ $itemRetriever

ItemRetriever Wikibase\Repo\RestApi\Application\UseCases\SetItemLabel\SetItemLabel::$itemRetriever
private

◆ $itemUpdater

ItemUpdater Wikibase\Repo\RestApi\Application\UseCases\SetItemLabel\SetItemLabel::$itemUpdater
private

◆ $validator

SetItemLabelValidator Wikibase\Repo\RestApi\Application\UseCases\SetItemLabel\SetItemLabel::$validator
private

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