Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\Validation\StatementValidator Interface Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Validation\StatementValidator:

Public Member Functions

 validate (array $statementSerialization, string $source)
 
 getValidatedStatement ()
 Returns the Statement object which is deserialized during the validation. More...
 

Detailed Description

Member Function Documentation

◆ getValidatedStatement()

Wikibase\Repo\RestApi\Validation\StatementValidator::getValidatedStatement ( )

Returns the Statement object which is deserialized during the validation.

This method only returns the validated Statement if the validation didn't error.

Implemented in Wikibase\Repo\RestApi\DataAccess\SnakValidatorStatementValidator.

◆ validate()

Wikibase\Repo\RestApi\Validation\StatementValidator::validate ( array  $statementSerialization,
string  $source 
)

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