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

Public Member Functions

 __construct (GetLatestPropertyRevisionMetadata $getLatestPropertyRevisionMetadata)
 
 execute (NumericPropertyId $id)
 

Private Attributes

GetLatestPropertyRevisionMetadata $getLatestPropertyRevisionMetadata
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\AssertPropertyExists::__construct ( GetLatestPropertyRevisionMetadata $getLatestPropertyRevisionMetadata)

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\AssertPropertyExists::execute ( NumericPropertyId $id)
Exceptions
UseCaseErrorif the property does not exist

Member Data Documentation

◆ $getLatestPropertyRevisionMetadata

GetLatestPropertyRevisionMetadata Wikibase\Repo\RestApi\Application\UseCases\AssertPropertyExists::$getLatestPropertyRevisionMetadata
private

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