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

Public Member Functions

 __construct (ItemRevisionMetadataRetriever $revisionMetadataRetriever, ItemDataRetriever $itemDataRetriever, GetItemValidator $validator)
 
 execute (GetItemRequest $itemRequest)
 

Private Attributes

 $revisionMetadataRetriever
 
 $itemDataRetriever
 
 $validator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\UseCases\GetItem\GetItem::__construct ( ItemRevisionMetadataRetriever  $revisionMetadataRetriever,
ItemDataRetriever  $itemDataRetriever,
GetItemValidator  $validator 
)

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\UseCases\GetItem\GetItem::execute ( GetItemRequest  $itemRequest)
Returns
GetItemSuccessResponse|GetItemErrorResponse|ItemRedirectResponse

Member Data Documentation

◆ $itemDataRetriever

Wikibase\Repo\RestApi\UseCases\GetItem\GetItem::$itemDataRetriever
private

◆ $revisionMetadataRetriever

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

◆ $validator

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

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