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

Public Member Functions

 __construct (GetItemStatementsValidator $validator, ItemStatementsRetriever $statementsRetriever, ItemRevisionMetadataRetriever $revisionMetadataRetriever)
 
 execute (GetItemStatementsRequest $request)
 

Private Attributes

 $validator
 
 $statementsRetriever
 
 $revisionMetadataRetriever
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\UseCases\GetItemStatements\GetItemStatements::__construct ( GetItemStatementsValidator  $validator,
ItemStatementsRetriever  $statementsRetriever,
ItemRevisionMetadataRetriever  $revisionMetadataRetriever 
)

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\UseCases\GetItemStatements\GetItemStatements::execute ( GetItemStatementsRequest  $request)
Returns
GetItemStatementsSuccessResponse|ItemRedirectResponse|GetItemStatementsErrorResponse

Member Data Documentation

◆ $revisionMetadataRetriever

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

◆ $statementsRetriever

Wikibase\Repo\RestApi\UseCases\GetItemStatements\GetItemStatements::$statementsRetriever
private

◆ $validator

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

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