Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\Validation\StatementIdValidator Class Reference

Public Member Functions

 __construct (EntityIdParser $entityIdParser)
 
 validate (string $statementId, string $source)
 

Private Attributes

 $entityIdParser
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Validation\StatementIdValidator::__construct ( EntityIdParser  $entityIdParser)

Member Function Documentation

◆ validate()

Wikibase\Repo\RestApi\Validation\StatementIdValidator::validate ( string  $statementId,
string  $source 
)

Member Data Documentation

◆ $entityIdParser

Wikibase\Repo\RestApi\Validation\StatementIdValidator::$entityIdParser
private

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