MediaWiki REL1_35
|
Do-nothing body validator. More...
Public Member Functions | |
validateBody (RequestInterface $request) | |
Validate the body of a request. | |
Do-nothing body validator.
Definition at line 10 of file NullBodyValidator.php.
MediaWiki\Rest\Validator\NullBodyValidator::validateBody | ( | RequestInterface | $request | ) |
Validate the body of a request.
This may return a data structure representing the parsed body. When used in the context of Handler::validateParams(), the returned value will be available to the handler via Handler::getValidatedBody().
RequestInterface | $request |
HttpException | on validation failure |
Implements MediaWiki\Rest\Validator\BodyValidator.
Definition at line 12 of file NullBodyValidator.php.