MediaWiki REL1_34
BodyValidator.php
Go to the documentation of this file.
1<?php
2
4
7
11interface BodyValidator {
12
24 public function validateBody( RequestInterface $request );
25
26}
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.