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

Public Member Functions

 __construct (ItemIdValidator $itemIdValidator)
 
 validate (GetItemStatementsRequest $request)
 

Public Attributes

const SOURCE_ITEM_ID = 'item ID'
 

Private Attributes

 $itemIdValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\UseCases\GetItemStatements\GetItemStatementsValidator::__construct ( ItemIdValidator  $itemIdValidator)

Member Function Documentation

◆ validate()

Wikibase\Repo\RestApi\UseCases\GetItemStatements\GetItemStatementsValidator::validate ( GetItemStatementsRequest  $request)

Member Data Documentation

◆ $itemIdValidator

Wikibase\Repo\RestApi\UseCases\GetItemStatements\GetItemStatementsValidator::$itemIdValidator
private

◆ SOURCE_ITEM_ID

const Wikibase\Repo\RestApi\UseCases\GetItemStatements\GetItemStatementsValidator::SOURCE_ITEM_ID = 'item ID'

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