MediaWiki REL1_35
BodyValidator.php
Go to the documentation of this file.
1<?php
2
4
7
13interface BodyValidator {
14
26 public function validateBody( RequestInterface $request );
27
28}
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.