Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement Class Reference

Public Member Functions

 __construct (AddItemStatementValidator $validator, ItemRevisionMetadataRetriever $revisionMetadataRetriever, ItemRetriever $itemRetriever, ItemUpdater $itemUpdater, GuidGenerator $guidGenerator, PermissionChecker $permissionChecker)
 
 execute (AddItemStatementRequest $request)
 

Private Attributes

 $validator
 
 $revisionMetadataRetriever
 
 $itemRetriever
 
 $itemUpdater
 
 $guidGenerator
 
 $permissionChecker
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement::__construct ( AddItemStatementValidator  $validator,
ItemRevisionMetadataRetriever  $revisionMetadataRetriever,
ItemRetriever  $itemRetriever,
ItemUpdater  $itemUpdater,
GuidGenerator  $guidGenerator,
PermissionChecker  $permissionChecker 
)

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement::execute ( AddItemStatementRequest  $request)

Member Data Documentation

◆ $guidGenerator

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement::$guidGenerator
private

◆ $itemRetriever

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement::$itemRetriever
private

◆ $itemUpdater

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement::$itemUpdater
private

◆ $permissionChecker

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement::$permissionChecker
private

◆ $revisionMetadataRetriever

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement::$revisionMetadataRetriever
private

◆ $validator

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatement::$validator
private

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