Inherits Wikibase\Repo\RestApi\Application\UseCases\AddItemStatement\AddItemStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\AddPropertyStatement\AddPropertyStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItem\GetItemValidator, Wikibase\Repo\RestApi\Application\UseCases\GetSitelinks\GetSitelinksValidator, Wikibase\Repo\RestApi\Application\UseCases\GetSitelink\GetSitelinkValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItemLabels\GetItemLabelsValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItemLabel\GetItemLabelValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItemDescriptions\GetItemDescriptionsValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItemDescription\GetItemDescriptionValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItemAliases\GetItemAliasesValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItemAliasesInLanguage\GetItemAliasesInLanguageValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItemStatement\GetItemStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\GetItemStatements\GetItemStatementsValidator, Wikibase\Repo\RestApi\Application\UseCases\GetProperty\GetPropertyValidator, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyLabels\GetPropertyLabelsValidator, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyDescriptions\GetPropertyDescriptionsValidator, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyAliases\GetPropertyAliasesValidator, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyAliasesInLanguage\GetPropertyAliasesInLanguageValidator, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyStatement\GetPropertyStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyStatements\GetPropertyStatementsValidator, Wikibase\Repo\RestApi\Application\UseCases\GetStatement\GetStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchItemLabels\PatchItemLabelsValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchItemDescriptions\PatchItemDescriptionsValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliasesValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchItemStatement\PatchItemStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\PatchPropertyValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyStatement\PatchPropertyStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchStatement\PatchStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\RemoveItemLabel\RemoveItemLabelValidator, Wikibase\Repo\RestApi\Application\UseCases\RemoveItemDescription\RemoveItemDescriptionValidator, Wikibase\Repo\RestApi\Application\UseCases\RemoveItemStatement\RemoveItemStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\RemovePropertyLabel\RemovePropertyLabelValidator, Wikibase\Repo\RestApi\Application\UseCases\RemovePropertyDescription\RemovePropertyDescriptionValidator, Wikibase\Repo\RestApi\Application\UseCases\RemovePropertyStatement\RemovePropertyStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\ReplaceItemStatement\ReplaceItemStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\ReplacePropertyStatement\ReplacePropertyStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\ReplaceStatement\ReplaceStatementValidator, Wikibase\Repo\RestApi\Application\UseCases\SetItemLabel\SetItemLabelValidator, Wikibase\Repo\RestApi\Application\UseCases\SetItemDescription\SetItemDescriptionValidator, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyLabel\GetPropertyLabelValidator, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyDescription\GetPropertyDescriptionValidator, Wikibase\Repo\RestApi\Application\UseCases\SetPropertyDescription\SetPropertyDescriptionValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyLabels\PatchPropertyLabelsValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptionsValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\PatchPropertyAliasesValidator, Wikibase\Repo\RestApi\Application\UseCases\SetPropertyLabel\SetPropertyLabelValidator, Wikibase\Repo\RestApi\Application\UseCases\AddItemAliasesInLanguage\AddItemAliasesInLanguageValidator, Wikibase\Repo\RestApi\Application\UseCases\AddPropertyAliasesInLanguage\AddPropertyAliasesInLanguageValidator, Wikibase\Repo\RestApi\Application\UseCases\RemoveSitelink\RemoveSitelinkValidator, Wikibase\Repo\RestApi\Application\UseCases\SetSitelink\SetSitelinkValidator, Wikibase\Repo\RestApi\Application\UseCases\PatchSitelinks\PatchSitelinksValidator, and Wikibase\Repo\RestApi\Application\UseCases\CreateItem\CreateItemValidator.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::__construct |
( |
ContainerInterface | $serviceContainer | ) |
|
- Parameters
-
ContainerInterface | $serviceContainer | Using the service container here allows us to lazily instantiate only the validators that are needed for the request object. |
◆ validateAndDeserialize()
Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::validateAndDeserialize |
( |
UseCaseRequest | $request | ) |
|
◆ $serviceContainer
ContainerInterface Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::$serviceContainer |
|
private |
◆ $validRequestResults
array Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::$validRequestResults = [] |
|
private |
◆ EDIT_METADATA_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::EDIT_METADATA_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'EditMetadataRequestValidatingDeserializer' |
◆ ITEM_ALIASES_IN_LANGUAGE_EDIT_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::ITEM_ALIASES_IN_LANGUAGE_EDIT_REQUEST_VALIDATING_DESERIALIZER |
Initial value:=
self::PREFIX . 'ItemAliasesEditRequestValidatingDeserializer'
◆ ITEM_DESCRIPTION_EDIT_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::ITEM_DESCRIPTION_EDIT_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'ItemDescriptionEditRequestValidatingDeserializer' |
◆ ITEM_FIELDS_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::ITEM_FIELDS_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'ItemFieldsRequestValidatingDeserializer' |
◆ ITEM_ID_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::ITEM_ID_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'ItemIdRequestValidatingDeserializer' |
◆ ITEM_LABEL_EDIT_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::ITEM_LABEL_EDIT_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'ItemLabelEditRequestValidatingDeserializer' |
◆ ITEM_SERIALIZATION_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::ITEM_SERIALIZATION_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'ItemSerializationRequestValidatingDeserializer' |
◆ LANGUAGE_CODE_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::LANGUAGE_CODE_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'LanguageCodeRequestValidatingDeserializer' |
◆ PATCH_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::PATCH_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'PatchRequestValidatingDeserializer' |
◆ PREFIX
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::PREFIX = 'WbRestApi.RequestValidation.' |
|
private |
◆ PROPERTY_ALIASES_IN_LANGUAGE_EDIT_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::PROPERTY_ALIASES_IN_LANGUAGE_EDIT_REQUEST_VALIDATING_DESERIALIZER |
Initial value:=
self::PREFIX . 'PropertyAliasesInLanguageEditRequestValidatingDeserializer'
◆ PROPERTY_DESCRIPTION_EDIT_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::PROPERTY_DESCRIPTION_EDIT_REQUEST_VALIDATING_DESERIALIZER |
Initial value:=
self::PREFIX . 'PropertyDescriptionEditRequestValidatingDeserializer'
◆ PROPERTY_FIELDS_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::PROPERTY_FIELDS_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'PropertyFieldsRequestValidatingDeserializer' |
◆ PROPERTY_ID_FILTER_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::PROPERTY_ID_FILTER_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'PropertyIdFilterRequestValidatingDeserializer' |
◆ PROPERTY_ID_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::PROPERTY_ID_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'PropertyIdRequestValidatingDeserializer' |
◆ PROPERTY_LABEL_EDIT_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::PROPERTY_LABEL_EDIT_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'PropertyLabelEditRequestValidatingDeserializer' |
◆ SITE_ID_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::SITE_ID_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'SiteIdRequestValidatingDeserializer' |
◆ SITELINK_EDIT_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::SITELINK_EDIT_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'SitelinkEditRequestValidatingDeserializer' |
◆ STATEMENT_ID_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::STATEMENT_ID_REQUEST_VALIDATING_DESERIALIZER = self::PREFIX . 'StatementIdRequestValidatingDeserializer' |
◆ STATEMENT_SERIALIZATION_REQUEST_VALIDATING_DESERIALIZER
const Wikibase\Repo\RestApi\Infrastructure\ValidatingRequestDeserializer::STATEMENT_SERIALIZATION_REQUEST_VALIDATING_DESERIALIZER |
Initial value:=
self::PREFIX . 'StatementSerializationRequestValidatingDeserializer'
The documentation for this class was generated from the following file: