- 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_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' |
◆ 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_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' |
◆ 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: