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

Public Member Functions

 __construct (GetLatestItemRevisionMetadata $getLatestItemRevisionMetadata)
 
 execute (ItemId $id)
 

Private Attributes

GetLatestItemRevisionMetadata $getLatestItemRevisionMetadata
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\AssertItemExists::__construct ( GetLatestItemRevisionMetadata $getLatestItemRevisionMetadata)

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\AssertItemExists::execute ( ItemId $id)
Exceptions
ItemRedirectif the item is a redirect
UseCaseErrorif the item does not exist

Member Data Documentation

◆ $getLatestItemRevisionMetadata

GetLatestItemRevisionMetadata Wikibase\Repo\RestApi\Application\UseCases\AssertItemExists::$getLatestItemRevisionMetadata
private

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