- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\RestApi\Application\Validation\StatementValidator::__construct |
( |
StatementDeserializer | $deserializer | ) |
|
◆ getValidatedStatement()
Wikibase\Repo\RestApi\Application\Validation\StatementValidator::getValidatedStatement |
( |
| ) |
|
◆ validate()
Wikibase\Repo\RestApi\Application\Validation\StatementValidator::validate |
( |
array | $statementSerialization | ) |
|
◆ $deserializedStatement
Statement Wikibase\Repo\RestApi\Application\Validation\StatementValidator::$deserializedStatement = null |
|
private |
◆ $deserializer
◆ CODE_INVALID_FIELD
const Wikibase\Repo\RestApi\Application\Validation\StatementValidator::CODE_INVALID_FIELD = 'invalid-statement-field' |
◆ CODE_MISSING_FIELD
const Wikibase\Repo\RestApi\Application\Validation\StatementValidator::CODE_MISSING_FIELD = 'statement-data-missing-field' |
◆ CONTEXT_FIELD_NAME
const Wikibase\Repo\RestApi\Application\Validation\StatementValidator::CONTEXT_FIELD_NAME = 'field' |
◆ CONTEXT_FIELD_VALUE
const Wikibase\Repo\RestApi\Application\Validation\StatementValidator::CONTEXT_FIELD_VALUE = 'value' |
The documentation for this class was generated from the following file: