Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\UseCases\GetLatestStatementSubjectRevisionMetadata Class Reference

Public Member Functions

 __construct (StatementSubjectRevisionMetaDataRetriever $metadataRetriever)
 
 execute (StatementGuid $statementId)
 

Private Attributes

StatementSubjectRevisionMetadataRetriever $metadataRetriever
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\GetLatestStatementSubjectRevisionMetadata::__construct ( StatementSubjectRevisionMetaDataRetriever $metadataRetriever)

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\GetLatestStatementSubjectRevisionMetadata::execute ( StatementGuid $statementId)
Exceptions
ItemRedirectif the item is a redirect
UseCaseErrorif the subject does not exist
Returns
array{int, string}

Member Data Documentation

◆ $metadataRetriever

StatementSubjectRevisionMetadataRetriever Wikibase\Repo\RestApi\Application\UseCases\GetLatestStatementSubjectRevisionMetadata::$metadataRetriever
private

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