MediaWiki  master
NullBodyValidator.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
10 class NullBodyValidator implements BodyValidator {
11 
12  public function validateBody( RequestInterface $request ) {
13  return null;
14  }
15 
16 }
validateBody(RequestInterface $request)
Validate the body of a request.
A request interface similar to PSR-7's ServerRequestInterface.
Interface for validating a request body.