MediaWiki master
BodyValidator.php
Go to the documentation of this file.
1<?php
2
4
7
14interface BodyValidator {
15
27 public function validateBody( RequestInterface $request );
28
29}
This is the base exception class for non-fatal exceptions thrown from REST handlers.
A request interface similar to PSR-7's ServerRequestInterface.
Interface for validating a request body.
validateBody(RequestInterface $request)
Validate the body of a request.